TMF Application Programmer's Guide (G06.26+)

File System Procedures
HP NonStop TMF Application Programmer’s Guide—522419-005
4-24
TMF_BEGINTAG_FROM_TXHANDLE_
TMF_BEGINTAG_FROM_TXHANDLE_
This procedure returns the begin-transaction-tag associated with the specified
transaction handle. The returned tag matches the one returned by the
BEGINTRANSACTION procedure, if the calling process began the transaction. It also
matches the tag returned by AWAITIO[X] to indicate completion of a nowaited
ENDTRANSACTION call.
If the specified transaction handle does not refer to a transaction begun or resumed by
the calling process, the file system error number 715 (invalid transaction handle) is
returned.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
status returned value
INT
is a file system error number:
For a list of all possible file system error numbers, refer to the Operator Messages
Manual.
#include <cextdecs(TMF_BEGINTAG_FROM_TXHANDLE_)>
short TMF_BEGINTAG_FROM_TXHANDLE_
( short _far *tx-handle ,
long _far *trans-begin-tag);
status := TMF_BEGINTAG_FROM_TXHANDLE_ ( tx-handle , ! i
trans-begin-tag ) ! o
CALLABLE, EXTENSIBLE;
0 Successful completion.
22 Bounds error.
29 Missing parameter(s).
82 TMF not currently running.
84 TMF not configured.
715 Invalid transaction handle.