Use the %ARMEND macro
when you are finished initiating new activity with the ARM interface.
The %ARMEND macro is typically called when an application or user
instance is terminating. Each %ARMEND macro is paired with an %ARMINIT.
The %ARMEND macro means that the application does not issue any more
ARM calls. ARM calls issued after an application has been terminated
with the %ARMEND macro result in an error. All transaction class identifiers
are cleared and are no longer available after the %ARMEND macro. Note
that you must terminate ARM with an %ARMEND macro to avoid getting
a warning or an error from the %ARMPROC macro.
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 is used.
The
output is the _ARMRC variable, which is the error status code that was
returned from the ARM_END function call.