TMF Application Programmer's Guide (H06.06+, J06.03+)

File System Procedures
HP NonStop TMF Application Programmers Guide540139-009
4-40
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
Note. This procedure can be called from 32-bit and 64-bit applications.
Syntax for TNS Programmers
Syntax for TNS/E Programmers
Syntax for TAL Programmers
Parameters
status returned value
INT
#include <cextdecs(TMF_BEGINTAG_FROM_TXHANDLE_)>
short TMF_BEGINTAG_FROM_TXHANDLE_
( short _far *tx-handle ,
long _far *trans-begin-tag);
#include <cextdecs(TMF_BEGINTAG_FROM_TXHANDLE_)>
short TMF_BEGINTAG_FROM_TXHANDLE_
( short _ptr64 *tx-handle ,
int _ptr64 *trans-begin-tag);
status := TMF_BEGINTAG_FROM_TXHANDLE_ ( tx-handle , ! i
trans-begin-tag ) ! o
CALLABLE, EXTENSIBLE;