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)


Completion code

MQCC_FAILED


Programmer response

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

Parent topic: API reason codes