+

Search Tips | Advanced Search

IBM MQ for z/OS recovery actions

Use this topic to understand some of the recovery actions for user detected and queue manager detected errors.

IBM MQ for z/OSĀ® can recover from program checks caused by incorrect user data. A completion and reason code are issued to the caller. These codes are documented in IBM MQ for z/OS messages, completion, and reason codes.


Program errors

Program errors might be associated with user application program code or IBM MQ code, and fall into two categories:


User detected errors

User detected errors are detected by the user (or a user-written application program) when the results of a service request are not as expected (for example, a nonzero completion code). The collection of problem determination data cannot be automated because detection occurs after the IBM MQ function has completed. Rerunning the application with the IBM MQ user parameter trace facility activated can provide the data needed to analyze the problem. The output from this trace is directed to the generalized trace facility (GTF).

We can turn the trace on and off using an operator command. See Use trace for problem determination on z/OS for more information.


Queue manager detected errors

The queue manager detects errors such as:

IBM MQ analyzes the error and takes the following actions: