Reason (MQLONG) - output

This is the reason code qualifying CompCode. If CompCode is MQCC_OK:

MQRC_NONE
(0, X'000') No reason to report.

If CompCode is MQCC_WARNING:

MQRC_NO_EXTERNAL_PARTICIPANTS
(2121, X'849') No participating resource managers registered.
MQRC_PARTICIPANT_NOT_AVAILABLE
(2122, X'84A') Participating resource manager not available.

If CompCode is MQCC_FAILED:

MQRC_API_EXIT_ERROR
(2374, X'946') API exit failed.
MQRC_BO_ERROR
(2134, X'856') Begin-options structure not valid.
MQRC_CALL_IN_PROGRESS
(2219, X'8AB') MQI call entered before previous call complete.
MQRC_CONNECTION_BROKEN
(2009, X'7D9') Connection to queue manager lost.
MQRC_ENVIRONMENT_ERROR
(2012, X'7DC') Call not valid in environment.
MQRC_HCONN_ERROR
(2018, X'7E2') Connection handle not valid.
MQRC_OPTIONS_ERROR
(2046, X'7FE') Options not valid or not consistent.
MQRC_Q_MGR_STOPPING
(2162, X'872') Queue manager shutting down.
MQRC_RESOURCE_PROBLEM
(2102, X'836') Insufficient system resources available.
MQRC_STORAGE_NOT_AVAILABLE
(2071, X'817') Insufficient storage available.
MQRC_UNEXPECTED_ERROR
(2195, X'893') Unexpected error occurred.
MQRC_UOW_IN_PROGRESS
(2128, X'850') Unit of work already started.

For more information on these reason codes, see

.