CICS switch application environment parameters
There are no explicit parameters when CICS® calls a task-related user exit for a switch
application environment call.
Before CICS stops using an open TCB, the TRUE is run on this TCB and the TRUE must release any resources associated with this TCB. The CICS transaction may continue and the TRUE may be called again on a different open TCB, and may then associate its resources with this new open TCB.
For example, a TRUE enabled
as CONCURRENCY(REQUIRED) API(CICSAPI) and called from a CICS Java™ application
will run on a T8 open TCB. When the Java application
completes, if the TRUE has expressed interest in switch_application_environment events,
the TRUE is called to release its resources from the T8 open TCB.
For a subsequent end of task syncpoint, the TRUE will be invoked on
an L8 TCB and can associate its resources with the L8 TCB in order
to execute its syncpoint processing