Reason (MQLONG) - output

See the Reason parameter described in MQCONN - Connect queue manager for details of possible reason codes.

The following additional reason codes can be returned by the MQCONNX call:

If CompCode is MQCC_FAILED:

MQRC_AIR_ERROR
(2385, X'951') Authentication information record not valid.
MQRC_API_EXIT_ERROR
(2374, X'946') An API exit function returned an invalid response code, or failed in some other way.
MQRC_API_EXIT_INIT_ERROR
(2375, X'947') The queue manager encountered an error while attempting to initialize the execution environment for an API exit function.
MQRC_API_EXIT_TERM_ERROR
(2376, X'948') The queue manager encountered an error while attempting to terminate the execution environment for an API exit function.
MQRC_AUTH_INFO_CONN_NAME_ERROR
(2387, X'953') Authentication information connection name not valid.
MQRC_AUTH_INFO_REC_COUNT_ERROR
(2383, X'94F') Authentication information record count not valid.
MQRC_AUTH_INFO_REC_ERROR
(2384, X'950') Authentication information record fields not valid.
MQRC_AUTH_INFO_TYPE_ERROR
(2386, X'952') Authentication information type not valid.
MQRC_CD_ERROR
(2277, X'8E5') Channel definition not valid.
MQRC_CLIENT_CONN_ERROR
(2278, X'8E6') Client connection fields not valid.
MQRC_CNO_ERROR
(2139, X'85B') Connect-options structure not valid.
MQRC_CONN_TAG_IN_USE
(2271, X'8DF') Connection tag in use.
MQRC_CONN_TAG_NOT_USABLE
(2350, X'92E') Connection tag not usable.
MQRC_CRYPTO_HARDWARE_ERROR
(2382, X'94E') Cryptographic hardware configuration error.
MQRC_KEY_REPOSITORY_ERROR
(2381, X'94D') Key repository not valid.
MQRC_LDAP_PASSWORD_ERROR
(2390, X'956') LDAP password not valid.
MQRC_LDAP_USER_NAME_ERROR
(2388, X'954') LDAP user name fields not valid.
MQRC_LDAP_USER_NAME_LENGTH_ERR
(2389, X'955') LDAP user name length not valid.
MQRC_OPTIONS_ERROR
(2046, X'7FE') Options not valid or not consistent.
MQRC_SCO_ERROR
(2380, X'94C') SSL configuration options structure not valid.
MQRC_SSL_ALREADY_INITIALIZED
(2391, X'957') SSL already initialized.
MQRC_SSL_CONFIG_ERROR
(2392, X'958') SSL configuration error.
MQRC_SSL_INITIALIZATION_ERROR
(2393, X'959') SSL initialization error.

For detailed information on these codes, see: