Pathway/iTS TCP and Terminal Programming Guide

Managing Transactions With the TMF Subsystem
Compaq NonStop™ Pathway/iTS TCP and Terminal Programming Guide426751-001
5-8
Interaction Between the PATHMON Environment and
the TMF Subsystem
TRANSACTION-ID
Executing BEGIN-TRANSACTION sets TRANSACTION-ID to the value of the
transaction identifier. Executing END-TRANSACTION or ABORT-
TRANSACTION sets this register to SPACES.
TRANSACTION-ID has this implicit declaration:
01 TRANSACTION-ID PIC X(8).
TERMINATION-STATUS
Executing BEGIN-TRANSACTION sets the value of TERMINATION-STATUS to
indicate the outcome of BEGIN-TRANSACTION. The following values are
possible:
TERMINATION-STATUS has this implicit declaration:
01 TERMINATION-STATUS PIC 9999 COMP.
Executing BEGIN-TRANSACTION sets RESTART-COUNTER to the number of
times the transaction has been restarted. RESTART-COUNTER is reset to 0 when
BEGIN-TRANSACTION is first executed for a particular transaction.
RESTART-COUNTER has this implicit declaration:
01 RESTART-COUNTER PIC 9999 COMP.
See BEGIN-TRANSACTION Use on page 5-5 for an example of how to use
RESTART-COUNTER to limit selectively the number of times a transaction is
retried.
Interaction Between the PATHMON Environment
and the TMF Subsystem
When you are configuring and controlling Pathway applications that include SCREEN
COBOL requesters and use the TMF subsystem, you need information about three basic
questions related to the interaction between the PATHMON environment and the TMF
subsystem:
How do the settings you specify for the TMF parameter of the PATHCOM
SET SERVER, SET TERM, and SET PROGRAM commands affect SCREEN
COBOL SEND statements?
1 The transaction is started or restarted.
2 The TMF subsystem is not installed. If there is no ON ERROR clause, the
default system action is to suspend the terminal for the pending abort.
3 The TMF subsystem is not started. If there is no ON ERROR clause, the
default system action is to suspend the terminal, but the terminal can be
restarted by the PATHCOM or SPI RESUME command.
4 A fatal error occurred. If there is no ON ERROR clause, the default system
action is to suspend the terminal for the pending abort.