List of constants

The following sections list all the named constants that are mentioned in this book, and show their values.

MQ_* (Lengths of character string and byte fields)


MQ_APPL_NAME_LENGTH 28 X'0000001C'
MQ_CONN_NAME_LENGTH 264 X'00000108'
MQ_EXIT_DATA_LENGTH 32 X'00000020'
MQ_EXIT_INFO_NAME_LENGTH 48 X'00000030'
MQ_EXIT_PD_AREA_LENGTH 48 X'00000030'
MQ_EXIT_USER_AREA_LENGTH 16 X'00000010'
MQ_Q_MGR_NAME_LENGTH 48 X'00000030'
MQ_SECURITY_ID_LENGTH 40 X'00000028'
MQ_USER_ID_LENGTH 12 X'0000000C'

MQACH_* (API exit chain header length)


MQACH_LENGTH_1 (variable)
MQACH_CURRENT_LENGTH (variable)

MQACH_* (API exit chain header structure identifier)


MQACH_STRUC_ID 'ACH '

For the C programming language, the following array version is also defined:

MQACH_STRUC_ID_ARRAY 'A','C','H',' '

MQACH_* (API exit chain header version)


MQACH_VERSION_1 1 X'00000001'
MQACH_CURRENT_VERSION 1 X'00000001'

MQAXC_* (API exit context structure identifier)


MQAXC_STRUC_ID 'AXC '

For the C programming language, the following array version is also defined:

MQAXC_STRUC_ID_ARRAY 'A','X','C',' '

MQAXC_* (API exit context version)


MQAXC_VERSION_1 1 X'00000001'
MQAXC_CURRENT_VERSION 1 X'00000001'

MQAXP_* (API exit parameter structure identifier)


MQAXP_STRUC_ID 'AXP '

For the C programming language, the following array version is also defined:

MQAXP_STRUC_ID_ARRAY 'A','X','P',' '

MQAXP_* (API exit parameter version)


MQAXP_VERSION_1 1 X'00000001'
MQAXP_CURRENT_VERSION 1 X'00000001'

MQCC_* (Completion code)


MQCC_OK 0 X'00000000'
MQCC_WARNING 1 X'00000001'
MQCC_FAILED 2 X'00000002'

MQFB_* (Feedback)


MQFB_NONE 0 X'00000000'
MQFB_SYSTEM_FIRST 1 X'00000001'
MQFB_SYSTEM_LAST 65535 X'0000FFFF'
MQFB_APPL_FIRST 65536 X'00010000'
MQFB_APPL_LAST 999999999 X'3B9AC9FF'

MQOT_* (Object type)


MQOT_Q 1 X'00000001'
MQOT_NAMELIST 2 X'00000002'
MQOT_PROCESS 3 X'00000003'
MQOT_Q_MGR 5 X'00000005'
MQOT_AUTH_INFO 7 X'00000007'
MQOT_RESERVED_1 999 X'000003E7'

MQRC_* (Reason code)


MQRC_NONE 0 X'00000000'
MQRC_BUFFER_LENGTH_ERROR 2005 X'000007D5'
MQRC_NOT_AUTHORIZED 2035 X'000007F3'
MQRC_RESOURCE_PROBLEM 2102 X'00000836'
MQRC_SUPPRESSED_BY_EXIT 2109 X'0000083D'
MQRC_UNEXPECTED_ERROR 2195 X'00000893'
MQRC_HCONFIG_ERROR 2280 X'000008E8'
MQRC_FUNCTION_ERROR 2281 X'000008E9'
MQRC_SERVICE_NOT_AVAILABLE 2285 X'000008ED'
MQRC_INITIALIZATION_FAILED 2286 X'000008EE'
MQRC_TERMINATION_FAILED 2287 X'000008EF'
MQRC_UNKNOWN_Q_NAME 2288 X'000008F0'
MQRC_SERVICE_ERROR 2289 X'000008F1'
MQRC_Q_ALREADY_EXISTS 2290 X'000008F2'
MQRC_USER_ID_NOT_AVAILABLE 2291 X'000008F3'
MQRC_UNKNOWN_ENTITY 2292 X'000008F4'
MQRC_UNKNOWN_REF_OBJECT 2294 X'000008F6'
MQRC_WRONG_CF_LEVEL 2366 X'0000093E'
MQRC_API_EXIT_ERROR 2374 X'00000946'
MQRC_API_EXIT_INIT_ERROR 2375 X'00000947'
MQRC_API_EXIT_TERM_ERROR 2376 X'00000948'
MQRC_EXIT_REASON_ERROR 2377 X'00000949'
MQRC_RESERVED_VALUE_ERROR 2378 X'0000094A'
MQRC_NO_DATA_AVAILABLE 2379 X'0000094B'

MQSID_* (Security identifier)




MQSID_NONE X'00...00' (40 nulls)

For the C programming language, the following array version is also defined:

MQSID_NONE_ARRAY '\0','\0',...'\0','\0'

MQXACT_* (API exit caller type)


MQXACT_EXTERNAL 1 X'00000001'
MQXACT_INTERNAL 2 X'00000002'

MQXCC_* (Exit response)




MQXCC_FAILED -8 X'FFFFFFF8'
MQXCC_SUPPRESS_EXIT -5 X'FFFFFFFB'
MQXCC_SKIP_FUNCTION -2 X'FFFFFFFE'
MQXCC_SUPPRESS_FUNCTION -1 X'FFFFFFFF'
MQXCC_OK 0 X'00000000'

MQXE_* (API exit environment)


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'

MQXF_* (API exit function identifier)


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'

MQXPDA_* (API exit problem determination area)


MQXPDA_NONE X'00...00' (48 nulls)

For the C programming language, the following array version is also defined:

MQXPDA_NONE_ARRAY '\0','\0',...'\0','\0'

MQXR_* (Exit reason)




MQXR_BEFORE 1 X'00000001'
MQXR_AFTER 2 X'00000002'
MQXR_CONNECTION 3 X'00000003'

MQXR2_* (Secondary exit response)




MQXR2_DEFAULT_CONTINUATION 0 X'00000000'
MQXR2_CONTINUE_CHAIN 8 X'00000008'
MQXR2_SUPPRESS_CHAIN 16 X'00000010'

MQXT_* (Exit identifier)


MQXT_API_EXIT 2 X'00000002'

MQXUA_* (Exit user area)


MQXUA_NONE X'00...00' (16 nulls)

For the C programming language, the following array version is also defined:

MQXUA_NONE_ARRAY '\0','\0',...'\0','\0'

MQZAD_* (Authority data structure identifier)


MQZAD_STRUC_ID 'ZAD '

For the C programming language, the following array version is also defined:

MQZAD_STRUC_ID_ARRAY 'Z','A','D',' '

MQZAD_* (Authority data version)


MQZAD_VERSION_1 1 X'00000001'
MQZAD_CURRENT_VERSION 1 X'00000001'

MQZAET_* (Authority service entity type)


MQZAET_NONE 0 X'00000000'
MQZAET_PRINCIPAL 1 X'00000001'
MQZAET_GROUP 2 X'00000002'

MQZAO_* (Authority service authorization type)


MQZAO_NONE 0 X'00000000'
MQZAO_CONNECT 1 X'00000001'
MQZAO_BROWSE 2 X'00000002'
MQZAO_INPUT 4 X'00000004'
MQZAO_OUTPUT 8 X'00000008'
MQZAO_INQUIRE 16 X'00000010'
MQZAO_SET 32 X'00000020'
MQZAO_PASS_IDENTITY_CONTEXT 64 X'00000040'
MQZAO_PASS_ALL_CONTEXT 128 X'00000080'
MQZAO_SET_IDENTITY_CONTEXT 256 X'00000100'
MQZAO_SET_ALL_CONTEXT 512 X'00000200'
MQZAO_ALTERNATE_USER_AUTHORITY 1024 X'00000400'
MQZAO_ALL_MQI 2047 X'000007FF'
MQZAO_CREATE 65536 X'00010000'
MQZAO_DELETE 131072 X'00020000'
MQZAO_DISPLAY 262144 X'00040000'
MQZAO_CHANGE 524288 X'00080000'
MQZAO_CLEAR 1048576 X'00100000'
MQZAO_AUTHORIZE 8388608 X'00800000'
MQZAO_ALL_ADMIN 10354688 X'009E0000'
MQZAO_ALL 10356735 X'009E07FF'

MQZAS_* (Authority service version)


MQZAS_VERSION_1 1 X'00000001'
MQZAS_VERSION_2 2 X'00000002'
MQZAS_VERSION_3 3 X'00000003'
MQZAS_VERSION_4 4 X'00000004'

MQZCI_* (Continuation indicator)


MQZCI_DEFAULT 0 X'00000000'
MQZCI_CONTINUE 0 X'00000000'
MQZCI_STOP 1 X'00000001'

MQZED_* (Entity descriptor structure identifier)


MQZED_STRUC_ID 'ZED '

For the C programming language, the following array version is also defined:

MQZED_STRUC_ID_ARRAY 'Z','E','D',' '

MQZED_* (Entity descriptor version)


MQZED_VERSION_1 1 X'00000001'
MQZED_CURRENT_VERSION 1 X'00000001'

MQZID_* (Function identifier, all services)


MQZID_INIT 0 X'00000000'
MQZID_TERM 1 X'00000001'

MQZID_* (Function identifier, authority service)


MQZID_INIT_AUTHORITY 0 X'00000000'
MQZID_TERM_AUTHORITY 1 X'00000001'
MQZID_CHECK_AUTHORITY 2 X'00000002'
MQZID_COPY_ALL_AUTHORITY 3 X'00000003'
MQZID_DELETE_AUTHORITY 4 X'00000004'
MQZID_SET_AUTHORITY 5 X'00000005'
MQZID_GET_AUTHORITY 6 X'00000006'
MQZID_GET_EXPLICIT_AUTHORITY 7 X'00000007'
MQZID_REFRESH_CACHE 8 X'00000008'
MQZID_ENUMERATE_AUTHORITY_DATA 9 X'00000009'

MQZID_* (Function identifier, name service)


MQZID_INIT_NAME 0 X'00000000'
MQZID_TERM_NAME 1 X'00000001'
MQZID_LOOKUP_NAME 2 X'00000002'
MQZID_INSERT_NAME 3 X'00000003'
MQZID_DELETE_NAME 4 X'00000004'

MQZID_* (Function identifier, userid service)


MQZID_INIT_USERID 0 X'00000000'
MQZID_TERM_USERID 1 X'00000001'
MQZID_FIND_USERID 2 X'00000002'

MQZIO_* (Initialization options)


MQZIO_PRIMARY 0 X'00000000'
MQZIO_SECONDARY 1 X'00000001'

MQZNS_* (Name service version)


MQZNS_VERSION_1 1 X'00000001'

MQZSE_* (Start-enumeration indicator)


MQZSE_START 1 X'00000001'
MQZSE_CONTINUE 0 X'00000000'

MQZTO_* (Termination options)


MQZTO_PRIMARY 0 X'00000000'
MQZTO_SECONDARY 1 X'00000001'

MQZUS_* (Userid service version)


MQZUS_VERSION_1 1 X'00000001'



© IBM Corporation 1994, 2002. All Rights Reserved