TMF Management Programming Manual (G06.24+)

Commands and Responses
HP NonStop TMF Management Programming Manual—522420-002
5-177
STATUS RMTRANSBRANCHES
ZTMF-VAL-COMMITTED
the transaction branch has committed, but not all subordinates have yet
been notified of the commit.
ZTMF-VAL-ABORTED
the transaction branch has aborted, but the superior has not yet been
notified of the abort.
ZBRANCHNUMBER
specifies the branch number. Each import and export of a transaction creates
a new branch. The same transaction can be imported and exported (possibly
multiple times) by the same resource manager. This value differentiates
between each branch. Note that the branch number is unique only during the
lifetime of a START TMF or an individual gateway process’ open of the
resource manager. This implies that if TMF is shut down or crashes, or the
gateway process fails or closes the resource manager for any reason, the
branch numbers for transaction branches might change.
Usage Guidelines
Anyone can issue this command.
TMF must be started for this command to execute successfully. If TMF is not started,
the error returned is ZTMF-ERR-TMFNOTSTARTED.
If the value specified for ZTMF-TKN-RMNAME is not a valid resource manager name,
the error returned is ZTMF-ERR-INVRMNAME.
If the specified resource manager is not registered in the resource manager directory,
the error returned is ZTMF-ERR-RMNAMENNOTFOUND.
If the value specified for the ZSPI-TKN-CONTEXT token is not valid, the error returned
is ZTMF-ERR-INVALIDCONTEXT.
It is possible for TMF to discard the results of a command while they are still being
retrieved by multiple requests with context. If that occurs, the error returned is ZTMF-
ERR-CONTEXTOUTOFDATE. In such a situation, it is possible that the command
actually succeeded, but TMF discarded the results. This could occur if the TMP has
processed more than ten commands for resource managers that required multiple
requests to receive the results after the command was originally received.
For more information about the STATUS RESOURCEMANAGER command, see the
TMF Reference Manual.