TMF Reference Manual (G06.26+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-003
3-340
STATUS TRANSACTIONS
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.
If a STOP TMF operation has already been requested, issue the STOP TMF,
ABRUPT command to shut down TMF abruptly. Enter the STOP TMF, ABRUPT
command from a TMFCOM process running under a different TACL process.
Other Long-Running Transactions
In addition to transactions in the prolonged ending state, other long-running
transactions may exist in the system. Sometimes these transactions are aborting
transactions that can cause the backout processes handling them to run for a long
time. By knowing which particular backout process is involved, you may be able to
detect and diagnose problems in the processing of a transaction. To identify the
backout process for a transaction, enter the STATUS TRANSACTIONS command with
the DETAIL option, and see the “Backout Assigned” field in the resulting display.
Output Displayed
The STATUS TRANSACTIONS command displays the items explained in Table 3-27.
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.
Note. Although this approach causes TMF to crash, this should not create a problem
because TMF shutdown was already in progress. The only noticeable side effect is that
when you next enter a START TMF command, the start operation takes a little longer to
execute (a maximum of 10 minutes, but typically far less time).