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

File System Procedures
HP NonStop TMF Application Programmers Guide540139-009
4-10
BEGINTRANSACTION_EXT_
BEGINTRANSACTION_EXT_
This procedure initiates a new transaction. The procedure is the same as
BEGINTRANSACTION except that it includes two new parameters to specify the
transaction type, and a timeout value for the 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(BEGINTRANSACTION_EXT_)>
short BEGINTRANSACTION_EXT_ ([ long _near *trans-begin-tag ],
[ long timeout ],
[ long long type_flags ] );
#include <cextdecs(BEGINTRANSACTION_EXT_)>
short BEGINTRANSACTION_EXT_ ([ int _ptr64 *trans-begin-tag ],
[ int timeout ],
[ long long type_flags ] );
status := BEGINTRANSACTION_EXT_ ( [ trans-begin-tag ], ! o
[ timeout ], ! i
[ type_flags ] ); ! i
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 a transaction is in progress, or a multithreaded
requester attempted to initiate more concurrent transactions than there
were TFILE entries).