Pathway/iTS Web Client Programming Manual (H06.03+, J06.03+)

Table Of Contents
Java Import Package Reference
HP NonStop Pathway/iTS Web Client Programming Manual520270-003
6-6
Class Gateway
Side Effects
Sets the values of ScobolLib.terminationStatus,
ScobolLib.transactionId, and ScobolLib.restartCounter.
Method beginTransaction (for ON ERROR clause)
Purpose
Initiates a transaction on the NonStop on behalf of this client.
Syntax
public void beginTransaction (String onTxnErrorMethod,
Object param)
throws ScobolTxnException
Description
Equivalent to the ON ERROR clause associated with the SCREEN COBOL BEGIN-
TRANSACTION statement. The signature of onTxnErrorMethod() must be:
void onTxnErrorMethod (Object arg)
Parameters
Side Effects
Sets the values of ScobolLib.terminationStatus,
ScobolLib.transactionId, and ScobolLib.restartCounter.
Method dialogAbort
Purpose
Forcibly aborts the dialog from the client side that was initiated by a previous
dialogBegin() call.
Syntax
Public void dialogAbort ( ) throws ScobolSendException
onTxnErrorMethod The name of the transaction error-handling method.
If null or if the method name is not found, then no
method is invoked if a transaction error occurs.
param The object that will be the parameter to the
onTxnErrorMethod() call.