2079 (081F) (RC2079): MQRC_TRUNCATED_MSG_ACCEPTED


Explanation

On an MQGET call, the message length was too large to fit into the supplied buffer. The MQGMO_ACCEPT_TRUNCATED_MSG option was specified, so the call completes. The message is removed from the queue (subject to unit-of-work considerations), or, if this was a browse operation, the browse cursor is advanced to this message.

The DataLength parameter is set to the length of the message before truncation, the Buffer parameter contains as much of the message as fits, and the MQMD structure is filled in.


Completion code

MQCC_WARNING


Programmer response

None, because the application expected this situation.

Parent topic: API reason codes