2264 (08D8) (RC2264): MQRC_DEST_NAME_ERROR

Explanation

This reason occurs when a channel exit that processes reference messages detects an error in the destination name data of a reference message header (MQRMH). One of the following is true:
  • DestNameLength is less than zero.
  • DestNameLength is greater than zero, but there is no destination name data.
  • DestNameLength is greater than zero, but DestNameOffset is negative, zero, or less than the length of the fixed part of MQRMH.
  • DestNameLength is greater than zero, but DestNameOffset plus DestNameLength is greater than StrucLength.

The exit returns this reason in the Feedback field of the MQCXP structure. If an exception report is requested, it is copied to the Feedback field of the MQMD associated with the report.

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

Completion Code

MQCC_FAILED

Programmer response

Specify the destination name data correctly.