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, butSrcEnvOffset
is negative, zero, or less than the length of the fixed part of MQRMH.SrcEnvLength
is greater than zero, butSrcEnvOffset
plusSrcEnvLength
is greater thanStrucLength
.
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 IBM MQ clients connected to these systems.
Completion Code
MQCC_FAILED
Programmer response
Specify the source environment data correctly.