List of constants

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

 

MQ_* (Lengths of character string and byte fields)


MQ_CHANNEL_DESC_LENGTH 64 X'00000040'
MQ_CHANNEL_NAME_LENGTH 20 X'00000014'
MQ_CONN_NAME_LENGTH 264 X'00000108'
MQ_EXIT_DATA_LENGTH 32 X'00000020'
MQ_EXIT_NAME_LENGTH (variable)
MQ_EXIT_USER_AREA_LENGTH 16 X'00000010'
MQ_LOCAL_ADDRESS_LENGTH 48 X'00000030'
MQ_MAX_EXIT_NAME_LENGTH 128 X'00000080'
MQ_MAX_MCA_USER_ID_LENGTH 64 X'00000040'
MQ_MCA_NAME_LENGTH 20 X'00000014'
MQ_MCA_USER_ID_LENGTH (variable)
MQ_MODE_NAME_LENGTH 8 X'00000008'
MQ_PASSWORD_LENGTH 12 X'0000000C'
MQ_Q_MGR_NAME_LENGTH 48 X'00000030'
MQ_Q_NAME_LENGTH 48 X'00000030'
MQ_SECURITY_ID_LENGTH 40 X'00000028'
MQ_SHORT_CONN_NAME_LENGTH 20 X'00000014'
MQ_SSL_CIPHER_SPEC_LENGTH 32 X'00000020'
MQ_TOTAL_EXIT_DATA_LENGTH 999 X'000003E7'
MQ_TOTAL_EXIT_NAME_LENGTH 999 X'000003E7'
MQ_TP_NAME_LENGTH 64 X'00000040'
MQ_USER_ID_LENGTH 12 X'0000000C'

 

MQCC_* (Completion code)


MQCC_OK 0 X'00000000'
MQCC_FAILED 2 X'00000002'

 

MQCD_* (Channel definition structure length)


See the StrucLength field described in MQCD - Channel definition.

MQCD_LENGTH_4 (variable)
MQCD_LENGTH_5 (variable)
MQCD_LENGTH_6 (variable)
MQCD_LENGTH_7 (variable)
MQCD_CURRENT_LENGTH (variable)

 

MQCD_* (Channel definition structure version)


See the Version field described in MQCD - Channel definition.

MQCD_VERSION_1 1 X'00000001'
MQCD_VERSION_2 2 X'00000002'
MQCD_VERSION_3 3 X'00000003'
MQCD_VERSION_4 4 X'00000004'
MQCD_VERSION_5 5 X'00000005'
MQCD_VERSION_6 6 X'00000006'
MQCD_VERSION_7 7 X'00000007'
MQCD_CURRENT_VERSION (variable)

 

MQCDC_* (Channel data conversion)


See the DataConversion field described in MQCD - Channel definition.

MQCDC_NO_SENDER_CONVERSION 0 X'00000000'
MQCDC_SENDER_CONVERSION 1 X'00000001'

 

MQCF_* (Channel capability flags)


See the CapabilityFlags field described in MQCXP - Channel exit parameter.

MQCF_NONE 0 X'00000000'
MQCF_DIST_LISTS 1 X'00000001'

 

MQCHT_* (Channel type)


See the ChannelType field described in MQCD - Channel definition.

MQCHT_SENDER 1 X'00000001'
MQCHT_SERVER 2 X'00000002'
MQCHT_RECEIVER 3 X'00000003'
MQCHT_REQUESTER 4 X'00000004'
MQCHT_CLNTCONN 6 X'00000006'
MQCHT_SVRCONN 7 X'00000007'
MQCHT_CLUSRCVR 8 X'00000008'
MQCHT_CLUSSDR 9 X'00000009'

 

MQCXP_* (Channel-exit parameter structure identifier)


See the StrucId field described in MQCXP - Channel exit parameter.

MQCXP_STRUC_ID 'CXPb'

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

MQCXP_STRUC_ID_ARRAY 'C','X','P','b'

 

MQCXP_* (Channel-exit parameter structure version)


See the Version field described in MQCXP - Channel exit parameter.

MQCXP_VERSION_1 1 X'00000001'
MQCXP_VERSION_2 2 X'00000002'
MQCXP_VERSION_3 3 X'00000003'
MQCXP_VERSION_4 4 X'00000004'
MQCXP_VERSION_5 5 X'00000005'
MQCXP_CURRENT_VERSION (variable)

 

MQFB_* (Feedback)


See the Feedback field described in MQCXP - Channel exit parameter.

MQFB_NONE 0 X'00000000'
MQFB_STOPPED_BY_MSG_EXIT 268 X'0000010C'

 

MQKAI_* (Keepalive interval)


MQKAI_AUTO -1 X'FFFFFFFF'

 

MQMCAT_* MCA(type)


See the MCAType field described in MQCD - Channel definition.

MQMCAT_PROCESS 1 X'00000001'
MQMCAT_THREAD 2 X'00000002'

 

MQNPMS_* (Nonpersistent message speed)


See the NonPersistentMsgSpeed field described in MQCD - Channel definition.

MQNPMS_NORMAL 1 X'00000001'
MQNPMS_FAST 2 X'00000002'

 

MQPA_* (Put authority)


See the PutAuthority field described in MQCD - Channel definition.

MQPA_DEFAULT 1 X'00000001'
MQPA_CONTEXT 2 X'00000002'

 

MQRC_* (Reason code)


See the Reason parameter described in MQXWAIT - Wait in exit.

MQRC_NONE 0 X'00000000'
MQRC_OPTIONS_ERROR 2046 X'000007FE'
MQRC_PUT_INHIBITED 2051 X'00000803'
MQRC_Q_FULL 2053 X'00000805'
MQRC_XWAIT_CANCELED 2107 X'0000083B'
MQRC_XWAIT_ERROR 2108 X'0000083C'
MQRC_PAGESET_FULL 2192 X'00000890'
MQRC_ADAPTER_NOT_AVAILABLE 2204 X'0000089C'

 

MQSCA_* SSL(client authentication)


See the SSLClientAuth field described in MQCD - Channel definition.

MQSCA_REQUIRED 0 X'00000000'
MQSCA_OPTIONAL 1 X'00000001'

 

MQSID_* Security(identifier)


See the MCASecurityId and RemoteSecurityId fields described in MQCD - Channel definition.

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'

 

MQSIDT_* Security(identifier type)


See the MCASecurityId and RemoteSecurityId fields described in MQCD - Channel definition.

MQSIDT_NONE X'00'
MQSIDT_NT_SECURITY_ID X'01'

 

MQTXP_* (Transport retry exit structure identifier)


See the StrucId field described in MQTXP - Transport exit parameter.

MQTXP_STRUC_ID 'TXPb'

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

MQTXP_STRUC_ID_ARRAY 'T','X','P','b'

 

MQTXP_* (Transport retry exit structure version)


See the Version field described in MQTXP - Transport exit parameter.

MQTXP_VERSION_1 1 X'00000001'
MQTXP_CURRENT_VERSION 1 X'00000001'

 

MQXCC_* (Exit response)


See the ExitResponse field described in MQCXP - Channel exit parameter.

MQXCC_REQUEST_ACK -7 X'FFFFFFF9'
MQXCC_CLOSE_CHANNEL -6 X'FFFFFFFA'
MQXCC_SUPPRESS_EXIT -5 X'FFFFFFFB'
MQXCC_SEND_SEC_MSG -4 X'FFFFFFFC'
MQXCC_SEND_AND_REQUEST_SEC_MSG -3 X'FFFFFFFD'
MQXCC_SUPPRESS_FUNCTION -1 X'FFFFFFFF'
MQXCC_OK 0 X'00000000'

 

MQXPT_* (Transmission protocol type)


See the TransportType field described in MQCD - Channel definition.

MQXPT_LU62 1 X'00000001'
MQXPT_TCP 2 X'00000002'
MQXPT_NETBIOS 3 X'00000003'
MQXPT_SPX 4 X'00000004'
MQXPT_DECNET 5 X'00000005'
MQXPT_UDP 6 X'00000006'

 

MQXR_* (Exit reason)


See the ExitReason field described in MQCXP - Channel exit parameter.

MQXR_INIT 11 X'0000000B'
MQXR_TERM 12 X'0000000C'
MQXR_MSG 13 X'0000000D'
MQXR_XMIT 14 X'0000000E'
MQXR_SEC_MSG 15 X'0000000F'
MQXR_INIT_SEC 16 X'00000010'
MQXR_RETRY 17 X'00000011'
MQXR_AUTO_CLUSSDR 18 X'00000012'
MQXR_AUTO_RECEIVER 19 X'00000013'
MQXR_END_BATCH 25 X'00000019'
MQXR_ACK_RECEIVED 26 X'0000001A'
MQXR_AUTO_SVRCONN 27 X'0000001B'
MQXR_AUTO_CLUSRCVR 28 X'0000001C'

 

MQXR2_* (Secondary exit response)


See the ExitResponse2 field described in MQCXP - Channel exit parameter.

MQXR2_PUT_WITH_DEF_ACTION 0 X'00000000'
MQXR2_USE_AGENT_BUFFER 0 X'00000000'
MQXR2_DEFAULT_CONTINUATION 0 X'00000000'
MQXR2_PUT_WITH_DEF_USERID 1 X'00000001'
MQXR2_PUT_WITH_MSG_USERID 2 X'00000002'
MQXR2_USE_EXIT_BUFFER 4 X'00000004'
MQXR2_CONTINUE_CHAIN 8 X'00000008'
MQXR2_SUPPRESS_CHAIN 16 X'00000010'

 

MQXT_* (Exit identifier)


See the ExitId field described in MQCXP - Channel exit parameter.

MQXT_CHANNEL_SEC_EXIT 11 X'0000000B'
MQXT_CHANNEL_MSG_EXIT 12 X'0000000C'
MQXT_CHANNEL_SEND_EXIT 13 X'0000000D'
MQXT_CHANNEL_RCV_EXIT 14 X'0000000E'
MQXT_CHANNEL_MSG_RETRY_EXIT 15 X'0000000F'
MQXT_CHANNEL_AUTO_DEF_EXIT 16 X'00000010'

 

MQXUA_* (Exit user area)


See the ExitUserArea field described in MQCXP - Channel exit parameter.

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'

 

MQXWD_* (Exit wait descriptor structure identifier)


See the StrucId field described in MQXWD - Exit wait descriptor.

MQXWD_STRUC_ID 'XWDb'

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

MQXWD_STRUC_ID_ARRAY 'X','W','D','b'

 

MQXWD_* (Exit wait descriptor version)


See the Version field described in MQXWD - Exit wait descriptor.

MQXWD_VERSION_1 1 X'00000001'