Figure 1 shows the timing of the invocations
of the user exits at initialization and termination processing.
Figure 1. Location of user exits
In Figure 1, runtime user exits are
invoked in the following sequence:
- Assembler user exit is invoked for enclave initialization.
- Environment is established.
- HLL user exit is invoked.
- Main routine is invoked.
- Main routine returns control to caller.
- Assembler user exit is invoked for termination of the enclave.
CEEBXITA is invoked for enclave termination processing after all application
code in the enclave has completed, but before any enclave termination
activity.
- Environment is terminated.
- Assembler user exit is invoked for termination of the process.
CEEBXITA is invoked again when the Language Environment process
terminates.
Language Environment provides
the CEEBXITA assembler user exit for termination but does not provide
a corresponding HLL termination user exit.
CEEBXITA behaves differently, depending upon when it is invoked,
as described in the following topics.