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

File System Procedures
HP NonStop TMF Application Programmers Guide540139-009
4-37
TEXTTOTRANSID
TEXTTOTRANSID
This procedure converts a transaction identifier from external ASCII form to internal
form. If the conversion fails (status <> 0), all output parameters are undefined.
If the string pointed to by the text parameter does not include a system name or
number and the local system is a named system, TEXTTOTRANSID uses the local
Expand node number as the system number.
If the string pointed to by the text parameter does not include a TMF flags value,
TEXTTOTRANSID generates a TMF flags field containing 0.
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
#include <cextdecs(TEXTTOTRANSID)>
short TEXTTOTRANSID ( char _far *text
, short text-byte-length
, long long _far *transid );
#include <cextdecs(TEXTTOTRANSID)>
short TEXTTOTRANSID ( char _ptr64 *text
, short text-byte-length
, long long _ptr64 *transid );
status := TEXTTOTRANSID ( text ! i
, text-byte-length ! i
, transid ); ! o