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

File System Procedures
HP NonStop TMF Application Programmers Guide540139-009
4-34
STATUSTRANSACTION
STATUSTRANSACTION
In addition to determining the status of a transaction, this procedure optionally accepts
a transaction identifier as an input parameter. If you omit the transaction identifier from
the call, STATUSTRANSACTION returns the status of the 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:
#include <cextdecs(STATUSTRANSACTION)>
short STATUSTRANSACTION ( short _far *trans-status
,[ long long transid ] );
#include <cextdecs(STATUSTRANSACTION)>
short STATUSTRANSACTION ( short _ptr64 *trans-status
,[ long long transid ] );
status := STATUSTRANSACTION ( trans-status ! o
[ , transid ] ); ! i
0 Successful completion.
22 Bounds error.
29 Missing parameter(s).
53 File system internal error.
75 No such transaction.