Failure of an MQI call
The queue manager can report immediately any errors in the coding of an MQI call. It does this using a set of predefined return codes. These are divided into completion codes and reason codes.
To show whether or not a call is successful, the queue manager returns a completion code when the call completes. There are three completion codes, indicating success, partial completion, and failure of the call. The queue manager also returns a reason code that indicates the reason for the partial completion or the failure of the call.
The completion and reason codes for each call are listed with the description of that call in the Application Programming Reference. For more detailed information, including ideas for corrective action, see:
- WebSphere MQ for z/OS Messages and Codes for WebSphere MQ for z/OS
- WebSphere MQ Messages for all other WebSphere MQ platforms
Design your programs to handle all the return codes that can arise from each call.
Parent topic:
Locally determined errors
fg11250_