Home

 

Extended responses to Inquire commands

 

Inquire commands normally generate an item response (type MQCFT_XR_ITEM) for each item found that matches the specified search criteria. The item response has a CompCode field in the header with a value of MQCC_OK, and a Reason field with a value of MQRC_NONE. It also includes other parameter structures describing the item and its requested attributes, as described in Definitions of Programmable Command Formats.

If an item is in error, the CompCode field in the header has a value of MQCC_FAILED and the Reason field identifies the particular error. Additional parameter structures are included to identify the item.

Certain Inquire commands may return general (not name-specific) message responses in addition to the item responses. These are informational, or error, responses of the type MQCFT__XR_MSG.

If the Inquire command succeeds, there may, optionally, be a summary response (type MQCFT_XR_SUMMARY), with a CompCode value of MQCC_OK, and a Reason field value of MQRC_NONE.

If the Inquire command fails, item responses may be returned, and there may optionally be a summary response (type MQCFT_XR_SUMMARY), with a CompCode value of MQCC_FAILED, and a Reason field value of MQRCCF_COMMAND_FAILED.

 

Parent topic:

Extended responses


pc10480_


 

Home