TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-74
#COMPUTETRANSID Built-In Function
#COMPUTETRANSID Built-In Function
Use #COMPUTETRANSID to convert the separate numeric values for the components
of a transaction ID into a single numeric transaction ID.
system
is the system number of the transaction ID.
cpu
is the CPU number of the transaction ID.
sequence
is the sequence number of the transaction ID.
crash-count
is the crash count of the transaction ID.
Result
#COMPUTETRANSID returns a numeric status code indicating the outcome of the
conversion:
Any other value indicates a TACL problem; contact your service provider.
If the status code is zero, the numeric transaction ID follows the status code, separated
by a space.
Consideration
Use the #INTERPRETTRANSID built-in function to convert a numeric transaction ID to
separate numeric values for the components of the transaction ID.
#COMPUTETRANSID system cpu sequence crash-count
Code Condition
-4 Invalid system
-3 Invalid crash count
-2 Invalid CPU
-1 Invalid sequence
0 Successful conversion