TMF Application Programmer's Guide (G06.26+)

File System Procedures
HP NonStop TMF Application Programmer’s Guide—522419-005
4-8
COMPUTETRANSID
COMPUTETRANSID
This procedure converts the individual numeric parts of an externally formatted
transaction identifier to internal form. All output parameters are undefined unless a
status of 0 (successful) is returned. If omitted, the tm-flags parameter defaults to 0.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
status returned value
INT
is a TMF or file system error number:
For a list of all possible file system error numbers, refer to the Operator Messages
Manual.
#include <cextdecs(COMPUTETRANSID)>
short COMPUTETRANSID ( long long _far *transid
, long system
, short cpu
, long sequence
, [ short tm-flags ] );
status := COMPUTETRANSID ( transid ! o
, system ! i
, cpu ! i
, sequence ! i
[ , tm-flags ] ); ! i
-4 Invalid system (TMF).
-3 Invalid TMF flags value (TMF).
-2 Invalid CPU (TMF).
-1 Invalid sequence (TMF).
0 Successful completion.
22 Invalid reference parameter.
29 Missing parameter(s).
82 TMF not running.
84 TMF not configured.