2252 (08CC) (RC2252): MQRC_ORIGINAL_LENGTH_ERROR

Explanation

An MQPUT or MQPUT1 call was issued to put a report message that is a segment, but the OriginalLength field in the MQMD or MQMDE structure is either:
  • Less than the length of data in the message, or
  • Less than one (for a segment that is not the last segment), or
  • Less than zero (for a segment that is the last segment)

This reason code occurs in the following environments: AIX®, HP-UX, z/OS®, IBM® i, Solaris, Windows, plus WebSphere® MQ clients connected to these systems.

Completion Code

MQCC_FAILED

Programmer response

Specify a value that is greater than zero. Zero is valid only for the last segment.