Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

2207

MQRC_CORREL_ID_ERROR (X'089F')MQ REASON CODE · CHECKED 2026-11-14
Checked against IBM documentation

An MQGET selected by correlation ID, but on z/OS the shared queue's IndexType does not allow that kind of selection.

QUICK ANSWER

An MQGET selected by correlation ID, but on z/OS the shared queue's IndexType does not allow that kind of selection.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. A shared queue's IndexType is not MQIT_CORREL_ID, but a program selects by correlation ID alone.
  2. Selection by correlation ID and message ID is used, but IndexType is neither MQIT_CORREL_ID nor MQIT_MSG_ID.
  3. The program asks for correlation-ID selection when it does not need it.

CHECKED 14 Nov 2026 IBM: 2207 (089F) (RC2207): MQRC_CORREL_ID_ERROR - IBM MQ 10.0.x

MOST LIKELY

A shared queue's IndexType is not MQIT_CORREL_ID, but a program selects by correlation ID alone.

FIRST CHECK

On z/OS, set the queue's IndexType attribute to MQIT_CORREL_ID.

TRY IT ▸

Site search

What it means

An MQGET call used the correlation identifier as a selection criterion and failed because the queue does not support it. On z/OS the queue is a shared queue whose IndexType attribute lacks a suitable value. The completion code is MQCC_FAILED.

Selecting by correlation ID alone needs IndexType MQIT_CORREL_ID. Selecting by correlation ID and message ID together needs MQIT_CORREL_ID or MQIT_MSG_ID.

Typical causes

  • A shared queue's IndexType is not MQIT_CORREL_ID, but a program selects by correlation ID alone.
  • Selection by correlation ID and message ID is used, but IndexType is neither MQIT_CORREL_ID nor MQIT_MSG_ID.
  • The program asks for correlation-ID selection when it does not need it.

How to fix it

  1. On z/OS, set the queue's IndexType attribute to MQIT_CORREL_ID.
  2. Or change the program to stop selecting by correlation ID.
  3. To do that, set CorrelId to MQCI_NONE and do not specify MQMO_MATCH_CORREL_ID in MQGMO.

Example

Illustrative only; names and values are invented.

MQGET failed  CompCode=2  Reason=2207  Queue=APP.REPLY.SHARED