Use the %ARMGTID macro
to name a transaction class. Transaction classes are related units
of work within an application. One or more %ARMGTID macros are typically
issued when the application starts to name each of the transaction
classes used by the application. The %ARMGTID macro produces only
one record for each transaction class, even if there are multiple
%ARMGTID macros for the same transaction class.
The
input is an application ID that is generated by a previous %ARMINIT macro.
If the APPID= or APPIDVAR= option is provided, the specified value
is used as the application ID. Otherwise, the value of the global
macro variable _ARMAPID used.
The
output is the _ARMTXID variable, which is the transaction class ID that
was returned from the ARM_GETID function call. Any variable for the
TXNIDVAR= option is updated.