The WebSphere MQ application programming interface (API) returns two values describing the success or failure of each call. The first value is the completion code and can be one of the following values.
MQCC_OK (0), indicating that the call completed successfully.
MQCC_WARNING (1), warning that the call was only partially completed.
MQCC_FAILED (2), indicating that the call failed.
The second value is the reason code. If the value of the completion code is MQCC_OK, the value of the reason code is MQRC_NONE (0). The other completion code values have many different reason code values, which are described in the WebSphere MQ Messages document.
The JADE messaging framework maps some common reason codes to specific JADE error codes. For example, the openQueue error MQRC_Q_MGR_NAME_ERROR (2058) is mapped to error
The remaining errors are mapped to JADE error code