TMF Management Programming Manual (G06.24+)
Introduction to TMF
HP NonStop TMF Management Programming Manual—522420-002
1-9
Operating System Procedure Calls
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.
Operating System Procedure Calls
Through its Guardian application program interface (API), the NonStop Kernel 
operating system provides procedure calls you can include in application programs 
written in any of the following languages: C, C++, COBOL, FORTRAN, Pascal, and 
the native Transaction Application Language (TAL). In most cases, the code for the 
procedures is made available through external declaration files provided with the 
compiler.
Through the procedure calls, you can request many system services.  Table 1-5 lists a 
few of the calls that you can apply to TMF transactions.
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.










