2261 (08D5) (RC2261): MQRC_SRC_ENV_ERROR
Explanation
This reason occurs when a channel exit that processes reference messages detects an error in the source environment data of a reference message header (MQRMH). One of the following is true:- SrcEnvLength is less than zero.
- SrcEnvLength is greater than zero, but there is no source environment data.
- SrcEnvLength is greater than zero, but SrcEnvOffset is negative, zero, or less than the length of the fixed part of MQRMH.
- SrcEnvLength is greater than zero, but SrcEnvOffset plus SrcEnvLength 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.
Completion code
MQCC_FAILED
Programmer response
Specify the source environment data correctly.
Parent topic: API reason codes