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

File System Procedures
HP NonStop TMF Application Programmers Guide540139-009
4-55
TMF_SETTXHANDLE_
TMF_SETTXHANDLE_
This procedure sets the current transaction to the one associated with the specified
transaction handle.
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(TMF_SETTXHANDLE_)>
short TMF_SETTXHANDLE_ ( short _far *tx-handle );
#include <cextdecs(TMF_SETTXHANDLE_)>
short TMF_SETTXHANDLE_ ( short _ptr64 *tx-handle );
status := TMF_SETTXHANDLE_ ( tx-handle ) !i
CALLABLE;
0 Successful completion.
22 Bounds error.
29 Missing parameter(s).
75 No current transaction.
78 Invalid transaction identifier or transaction not started on this EXPAND
node.
82 TMF not currently running.
715 Invalid transaction handle.