2457 (0999) (RC2457): MQRC_OPTIONS_CHANGED


Explanation

An MQGET call on a queue handle opened using MQOO_READ_AHEAD (or resolved to that value through the queue's default value) has altered an option that is required to be consistent between MQGET calls.


Completion code

MQCC_FAILED


Programmer response

Keep all required MQGET options the same between invocations of MQGET, or use MQOO_NO_READ_AHEAD when opening the queue.

Parent topic: API reason codes