|  | 
 | ||||
|  | ||||||
| Related Topics | Other Library Functions | |||||
| function | mq-get-entire-return-status | 
define external function mq-get-entire-return-status
          modifiable    mq-response-record    responses
Argument definitions
Use mq-get-entire-return-status to retrieve the IBM MQSeries error codes when the "MQI0001" external exception is received.
You must include the following line at the beginning of your OmniMark program:
include "ommqi.xin"
When an OmniMark program receives the "MQI0001" external exception, that indicates that multiple IBM MQSeries error occurred during the ommqi function which was just called. mq-get-entire-return-status can be called to retrieve a shelf of response records returned by the IBM MQSeries client.
The responses shelf is cleared, and then one mq-response-record opaque is placed in the shelf for each error that occurred. The mq-get-response-record function can be used to get the CompCode and Response value from each mq-response-record.
The error codes are cleared upon the next ommqi call.
See OMMQI Error Handling for an example of how this function is used.
| Related Topics | Other Library Functions | 
Copyright © Stilo International plc, 1988-2010.