External constants
The following external constants are available for API exits:
- MQXF_* (exit function identifiers)
MQXF_INIT 1 X'00000001' MQXF_TERM 2 X'00000002' MQXF_CONN 3 X'00000003' MQXF_CONNX 4 X'00000004' MQXF_DISC 5 X'00000005' MQXF_OPEN 6 X'00000006' MQXF_CLOSE 7 X'00000007' MQXF_PUT1 8 X'00000008' MQXF_PUT 9 X'00000009' MQXF_GET 10 X'0000000A' MQXF_DATA_CONV_ON_GET 11 X'0000000B' MQXF_INQ 12 X'0000000C' MQXF_SET 13 X'0000000D' MQXF_BEGIN 14 X'0000000E' MQXF_CMIT 15 X'0000000F' MQXF_BACK 16 X'00000010'- MQXR_* (exit reasons)
MQXR_BEFORE 1 X'00000001' MQXR_AFTER 2 X'00000002' MQXR_CONNECTION 3 X'00000003'- MQXE_* (environments)
MQXE_OTHER 0 X'00000000' MQXE_MCA 1 X'00000001' MQXE_MCA_SVRCONN 2 X'00000002' MQXE_COMMAND_SERVER 3 X'00000003' MQXE_MQSC 4 X'00000004'- MQ*_* (additional constants)
MQAXP_VERSION_1 1 MQAXC_VERSION_1 1 MQACH_VERSION_1 1 MQAXP_CURRENT_VERSION 1 MQAXC_CURRENT_VERSION 1 MQACH_CURRENT_VERSION 1 MQXACT_EXTERNAL 1 MQXACT_INTERNAL 2 MQXT_API_EXIT 2 MQACH_LENGTH_1 68 (32-bit platforms) 72 (64-bit platforms) 80 (128-bit platforms) MQACH_CURRENT_LENGTH 68 (32-bit platforms) 72 (64-bit platforms) 80 (128-bit platforms)- MQ*_* (null constants)
MQXPDA_NONE X'00...00' (48 nulls) MQXPDA_NONE_ARRAY '\0','\0',...,'\0','\0'- MQXCC_* (completion codes)
MQXCC_FAILED -8- MQRC_* (reason codes)
- MQRC_API_EXIT_ERROR 2374 X'00000946'
- An exit function invocation has returned an invalid response code, or has failed in some way, and the queue manager cannot determine the next action to take.
Examine both the ExitResponse and ExitResponse2 fields of the MQAXP to determine the bad response code, and change the exit to return a valid response code.
- MQRC_API_EXIT_INIT_ERROR 2375 X'00000947'
- The queue manager encountered an error while initializing the execution environment for an API exit function.
- MQRC_API_EXIT_TERM_ERROR 2376 X'00000948'
- The queue manager encountered an error while closing the execution environment for an API exit function.
- MQRC_EXIT_REASON_ERROR 2377 X'00000949'
- The value of the ExitReason field supplied on an exit entry point registration call (MQXEP) call is in error.
Examine the value of the ExitReason field to determine and correct the bad exit reason value.
- MQRC_RESERVED_VALUE_ERROR 2378 X'0000094A'
- The value of the Reserved field is in error.
Examine the value of the Reserved field to determine and correct the Reserved value.
Parent topic:
Reference information
fg14640_