2263 (08D7) (RC2263): MQRC_DEST_ENV_ERROR

Explanation

This reason occurs when a channel exit that processes reference messages detects an error in the destination environment data of a reference message header (MQRMH). One of the following is true:
  • DestEnvLength is less than zero.
  • DestEnvLength is greater than zero, but there is no destination environment data.
  • DestEnvLength is greater than zero, but DestEnvOffset is negative, zero, or less than the length of the fixed part of MQRMH.
  • DestEnvLength is greater than zero, but DestEnvOffset plus DestEnvLength 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 environment data correctly.