Variations in the MQGetMessageOptions fields
Some queue managers do not support the Version 2 MQGMO structure, so you must set some fields to their default values.
When using a queue manager that does not support the Version 2 MQGMO structure, leave the following fields set to their default values:
- GroupStatus
- SegmentStatus
- Segmentation
Also, the MatchOptions field supports only MQMO_MATCH_MSG_ID and MQMO_MATCH_CORREL_ID. If you put unsupported values into these fields, the subsequent MQDestination.get() fails with MQRC_GMO_ERROR. If the queue manager does not support the Version 2 MQGMO structure, these fields are not updated after a successful MQDestination.get().