Making initial checks on z/OS

Before you start problem determination in detail, consider whether there is an obvious cause of the problem, or an area of investigation that is likely to give useful results. This approach to diagnosis can often save a lot of work by highlighting a simple error, or by narrowing down the range of possibilities.

The cause of your problem could be in:
  • IBM® MQ
  • The network
  • The application
  • Other applications that you have configured to work with IBM MQ

See the following sections for some additional tips for problem determination for system administrators and application developers.

Tips for system administrators

Tips for application developers

  • Check the return codes from the MQI calls in your applications. For a list of reason codes, see API completion and reason codes. Use the information provided in the return code to determine the cause of the problem. Follow the steps in the Programmer response sections of the reason code to resolve the problem.
  • If you are unsure whether your application is working as expected, for example, you are not unsure of the parameters being passed into the MQI or out of the MQI, you can use trace to collect information about all the inputs and outputs of your MQI calls. For more information about using trace, see Using trace.
  • For more information about handling errors in MQI applications, see Handling program errors.