TMF Application Programmer's Guide (H06.06+, J06.03+)
File System Procedures
HP NonStop TMF Application Programmer’s Guide—540139-009
4-61
TMF_TXBEGIN_
TMF_TXBEGIN_
This procedure is the same as BEGINTRANSACTION except that it includes a new
parameter to specify a timeout value.
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_TXBEGIN_)>
short TMF_TXBEGIN_ ( [ long timeout ] ,
[ long _near *trans-begin-tag ] );
#include <cextdecs(TMF_TXBEGIN_)>
short TMF_TXBEGIN_ ( [ int timeout ] ,
[ int _ptr64 *trans-begin-tag ] );
status := TMF_TXBEGIN_ ( [ timeout ] ! i
[ , trans-begin-tag ] ) ! o
CALLABLE, RESIDENT, EXTENSIBLE;
0 Successful completion.
30 System unable to obtain message block, or is already using its
maximum number of RECEIVE or SEND message blocks.
82 TMF not running.
83 Too many transactions (a single-threaded requester tried to initiate a
transaction while it still had one in progress, or a multithreaded
requester attempted to initiate more concurrent transactions than there
were TFILE entries).










