The message did not fit in the supplied buffer and MQGMO_ACCEPT_TRUNCATED_MSG was not specified, so the message was not removed. DataLength holds the length before truncation, the buffer holds as much as fits, and the MQMD is filled in. The completion code is MQCC_WARNING.
Typical causes
The buffer supplied on MQGET is smaller than the message.
MQGMO_ACCEPT_TRUNCATED_MSG was not specified.
How to fix it
Supply a buffer at least as large as DataLength, then get the message again.
Specify MQGMO_ACCEPT_TRUNCATED_MSG if not all the message data is needed.