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

File System Procedures
HP NonStop TMF Application Programmers Guide540139-009
4-44
TMF_GET_EXTTRANSID_
specifies the transaction handle of the current transaction of the calling process.
The size of the returned handle is 20 bytes.
TMF_GET_EXTTRANSID_
This procedure returns the exttransid associated with the current transaction of the
process.
Note. This procedure cannot be called by TNS applications.
Syntax for C Programmers
Note. This procedure can be called from 32-bit and 64-bit applications.
Syntax for TNS/E Programmers
Syntax for TAL Programmers
Parameters
status returned value
INT
is a file system error number:
Note. EPTAL callers can pass 64-bit pointers by specifying the compiler directives
__EXT64 and SETTOG _64BIT_CALLS before sourcing from the EXTDECS file.
#include <cextdecs(TMF_GET_EXTTRANSID_)>
short TMF_GET_EXTTRANSID_ ( long long _ptr64 *exttransid[2],
long long _ptr64 *type_flags );
status := TMF_GET_EXTTRANSID_ ( exttransid, ! i
type_flags )
! o
CALLABLE, EXTENSIBLE;
0 Successful completion.
22 Bounds error.
75 No current transaction
78 Transaction no longer valid.