[z/OS]

2394 (095A) (RC2394): MQRC_Q_INDEX_TYPE_ERROR

Explanation

An MQGET call was issued specifying one or more of the following options:
  • MQGMO_ALL_MSGS_AVAILABLE
  • MQGMO_ALL_SEGMENTS_AVAILABLE
  • MQGMO_COMPLETE_MSG
  • MQGMO_LOGICAL_ORDER
but the call failed because the queue is not indexed by group identifier. These options require the queue to have an IndexType of MQIT_GROUP_ID.

This reason code occurs only on z/OS®.

Completion code

MQCC_FAILED

Programmer response

Redefine the queue to have an IndexType of MQIT_GROUP_ID. Alternatively, modify the application to avoid using the options listed.