TMF Application Programmer's Guide (H06.06+, J06.03+)
File System Procedures
HP NonStop TMF Application Programmer’s Guide—540139-009
4-46
TMF_GET_TX_ID_
TMF_GET_TX_ID_
This procedure extracts a transactional identifier (txid) from a transaction handle. The
identifier is only valid within the lifetime of the calling process or until TMF is either shut
down or crashes. The returned identifier can be used in calls to TMF_RESUME_ to
specify the transaction to be resumed by the process. The same transactional identifier
is returned by TMF_SUSPEND_.
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
is a file system error number:
#include <cextdecs(TMF_GET_TX_ID_)>
short TMF_GET_TX_ID_ ( short _far *tx-handle ,
long long _far *txid );
#include <cextdecs(TMF_GET_TX_ID_)>
short TMF_GET_TX_ID_ ( short _ptr64 *tx-handle ,
long long _ptr64 *txid );
status := TMF_GET_TX_ID_ ( tx-handle , ! i
txid ) ! o
CALLABLE, EXTENSIBLE;
0 Successful completion.
22 Bounds error.
29 Missing parameter(s).
78 Transaction no longer valid.










