[UNIX, Linux, Windows, IBM i]

2262 (08D6) (RC2262): MQRC_SRC_NAME_ERROR

Explanation

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