Introduction to TMF
HP NonStop TMF Management Programming Manual—540140-008
1-9
Pathway SCREEN COBOL
Pathway SCREEN COBOL
The
SCREEN COBOL programming language
allows programmers to write client
processes that communicate with operator terminals and intelligent input/output
devices, and that send data to server processes that manage application databases,
all under the control of Pathway. SCREEN COBOL programmers use special
statements and registers for accessing TMF.
Table 1-3
lists statements in the SCREEN
COBOL language that manage transactions programmatically.
For more information about these statements, see the
Pathway SCREEN COBOL
Reference Manual.
Table 1-4
lists the SCREEN COBOL language registers that manage transactions
programmatically.
For more information about these registers, see the
Pathway SCREEN COBOL
Reference Manual.
Table 1-3. Pathway SCREEN COBOL Statements
Statement
Description
ABORT-TRANSACTION
Cancels the transaction of a terminal operating in transaction
mode. All database updates made to audited files during the
transaction are backed out and no attempt is made to restart
the transaction.
BEGIN-TRANSACTION
Marks the beginning of a series of operations that are to be
treated as a single transaction. When this statement
executes, the terminal enters transaction mode.
END-TRANSACTION
Marks the completion of a sequence of operations that are
treated as a single transaction. When this statement
executes, the terminal leaves transaction mode.
RESTART-TRANSACTION
Is equivalent to an ABORT-TRANSACTION statement
followed by a BEGIN-TRANSACTION statement.
Table 1-4. Pathway SCREEN COBOL Registers
Register
Description
RESTART-COUNTER
Contains the number of times a transaction has been restarted
during transaction mode.
TERMINATION-STATUS
Communicates an error number, further describing the error.
TRANSACTION-ID
Contains the value of the transaction identifier that the TMF
subsystem assigns when the SCREEN COBOL BEGIN-
TRANSACTION statement executes.
Summary of Contents for NonStop TMF
Page 4: ......