2207 (089F) (RC2207): MQRC_CORREL_ID_ERROR

Explanation

An MQGET call was issued to retrieve a message using the correlation identifier as a selection criterion, but the call failed because selection by correlation identifier is not supported on this queue.
  • On z/OS®, the queue is a shared queue, but the IndexType queue attribute does not have an appropriate value:
    • If selection is by correlation identifier alone, IndexType must have the value MQIT_CORREL_ID.
    • If selection is by correlation identifier and message identifier combined, IndexType must have the value MQIT_CORREL_ID or MQIT_MSG_ID.
  • On HP Integrity NonStop Server, a key file is required but has not been defined.

Completion Code

MQCC_FAILED

Programmer response

Do one of the following:
  • On z/OS, change the IndexType queue attribute to MQIT_CORREL_ID.
  • On HP Integrity NonStop Server, define a key file.
  • Modify the application so that it does not use selection by correlation identifier: set the CorrelId field to MQCI_NONE and do not specify MQMO_MATCH_CORREL_ID in MQGMO.