Handling program errors
Your application can encounter errors associated with its MQI calls either
when it makes a call or when its message is delivered to its final destination:
- Whenever possible, the queue manager returns any errors as soon as an
MQI call is made. These are locally determined errors.
- When sending messages to a remote queue, errors might not be apparent
when the MQI call is made. In this case, the queue manager that identifies
the errors reports them by sending another message to the originating program.
These are remotely determined errors.
This chapter gives advice on how to handle both types of error, under
these headings: