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

File System Procedures
HP NonStop TMF Application Programmers Guide540139-009
4-24
GETTRANSID
GETTRANSID
This procedure returns the transaction identifier of the calling process’ current
transaction..
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:
For a list of file system error numbers, refer to the Operator Messages Manual.
#include <cextdecs(GETTRANSID)>
short GETTRANSID ( short _near *transid );
#include <cextdecs(GETTRANSID)>
short GETTRANSID ( short _ptr64 *transid );
status := GETTRANSID ( transid ); ! o
0 Successful completion.
75 Current transaction in nil state.
78 Invalid or obsolete transaction identifier.
82 TMF not running.
84 TMF not configured.