Pathway/iTS Web Client Programming Manual (G06.24+)

Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual520270-001
6-5
Class Gateway
Syntax
public void acceptTime (ScobolType time)
throws ScobolTxnException
Description
Equivalent to the SCREEN COBOL ACCEPT TIME statement.
Parameters
Method beginTransaction
Purpose
Initiates a transaction on the NonStop Himalaya on behalf of this client.
Syntax
public void beginTransaction () throws ScobolTxnException
Description
Equivalent to the SCREEN COBOL BEGIN-TRANSACTION statement.
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 Himalaya 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)
time The object that will receive the time