2185 (0889) (RC2185): MQRC_INCONSISTENT_PERSISTENCE


Explanation

An MQPUT call was issued to put a message in a group or a segment of a logical message, but the value specified or defaulted for the Persistence field in MQMD is not consistent with the current group and segment information retained by the queue manager for the queue handle. All messages in a group and all segments in a logical message must have the same value for persistence, that is, all must be persistent, or all must be nonpersistent.

If the current call specifies MQPMO_LOGICAL_ORDER, the call fails. If the current call does not specify MQPMO_LOGICAL_ORDER, but the previous MQPUT call for the queue handle did, the call succeeds with completion code MQCC_WARNING.


Completion code

MQCC_WARNING or MQCC_FAILED


Programmer response

Modify the application to ensure that the same value of persistence is used for all messages in the group, or all segments of the logical message.