Set up the exit execution environment
While processing an explicit MQCONN or MQCONNX call, exit handling logic sets up the exit execution environment before invoking the exit initialization function (MQ_INIT_EXIT). Exit execution environment setup involves loading the exit, acquiring storage for, and initializing exit parameter structures. The exit configuration handle is also allocated at this point.
If errors occur during this phase, the MQCONN or MQCONNX call fails with CompCode MQCC_FAILED and one of the following reason codes:
- MQRC_API_EXIT_LOAD_ERROR
- An attempt to load an API exit module has failed.
- MQRC_API_EXIT_NOT_FOUND
- An API exit function could not be found in the API exit module.
- MQRC_STORAGE_NOT_AVAILABLE
- An attempt to initialize the execution environment for an API exit function failed because insufficient storage was available.
- MQRC_API_EXIT_INIT_ERROR
- An error was encountered while initializing the execution environment for an API exit function.
Parent topic:
The execution environment
fg14720_