External constants
Use this topic as reference information for external constants available for API exists.
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' MQXF_STAT 18 X'00000012' MQXF_CB 19 X'00000013' MQXF_CTL 20 X'00000014' MQXF_CALLBACK 21 X'00000015' MQXF_SUB 22 X'00000016' MQXF_SUBRQ 23 X'00000017' MQXF_XACLOSE 24 X'00000018' MQXF_XACOMMIT 25 X'00000019' MQXF_XACOMPLETE 26 X'0000001A' MQXF_XAEND 27 X'0000001B' MQXF_XAFORGET 28 X'0000001C' MQXF_XAOPEN 29 X'0000001D' MQXF_XAPREPARE 30 X'0000001E' MQXF_XARECOVER 31 X'0000001F' MQXF_XAROLLBACK 32 X'00000020' MQXF_XASTART 33 X'00000021' MQXF_AXREG 34 X'00000022' MQXF_AXUNREG 35 X'00000023'
- 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 MQAXP_VERSION_2 2 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: API exit reference