TMF Reference Manual (G06.24+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-002
3-300
STATUS TRANSACTIONS
displayed is followed by a period and then the transaction branch number: for
example, TUX-HP@ESSG.1. The branch number helps distinguish between two
separate exports of the same transaction from the same resource manager.
Notice that the branch number is only unique during the life of a START TMF
command or an individual gateway process’ open of the resource manager. Thus, if
TMF is shut down or crashes, or if the gateway process fails or closes the resource
manager for any reason, the branch numbers for the transaction branches might
change.
Transactions in Prolonged Ending State
The STATUS TRANSACTIONS display sometimes shows transactions that remain in
the ending state indefinitely. This situation can occur when transactions distributed
over the network are in progress and the primary processor for the TMP fails, resulting
in orphaned data structures for the transactions. These transactions do not cause
problems with TMF operation. But if they exist when a STOP TMF command is issued,
the STOP TMF command waits indefinitely for TMF to resolve the transactions (which
it can never do).
These transactions cannot be affected by RESOLVE TRANSACTION, DELETE
TRANSACTION, or ABORT TRANSACTION commands. The only way to force the
TMP to discard the orphaned data structures is to follow one of these procedures:
If a STOP TMF operation has not been requested, induce a TMP takeover. To do
this, use TMFCOM to issue the ALTER TMF, SWITCHPROCESS TMP command.
Note. Resource managers support heterogeneous transaction processing. They are used in
products such as NonStop TUXEDO. Although TMFCOM and the TMFSERVE programmatic
interface provide TMF commands and options for operating on resource managers, system
managers who use them do so in the context of issues involving multiple software subsystems
and inter-platform considerations. Complete discussion of heterogeneous transaction
processing and the context in which resource-manager commands and options are used lies
beyond the scope of the TMF manual library.
For more information about heterogeneous transaction processing, see the Open Group
TRANSACTION PROCESSING Publications, available from X/Open Publications at the
following Web location:
http://www.opengroup.org/pubs/catalog/tp.htm
These publications can also be ordered through many bookstores.
Note. Do not induce a TMP takeover when a STOP TMF operation has already been
started. In this case, your ALTER TMF command hangs because the TMP tries to
complete the stop operation before processing this command.