2420 (0974) (RC2420): MQRC_EPH_ERROR
Explanation
An MQPUT or MQPUT1 call was issued, but the message data contains an MQEPH structure that is not valid. Possible errors include the following:- The StrucId field is not MQEPH_STRUC_ID.
- The Version field is not MQEPH_VERSION_1.
- The StrucLength field specifies a value that is too small to include the structure plus the variable-length data at the end of the structure.
- The CodedCharSetId field is zero, or a negative value that is not valid.
- The Flags field contains an invalid combination of MQEPH_* values.
- The BufferLength parameter of the call has a value that is too small to accommodate the structure, so the structure extends beyond the end of the message.
Completion code
MQCC_FAILED
Programmer response
Check that the fields in the structure are set correctly. Ensure that the application sets the CodedCharSetId field to a valid value; note that MQCCSI_DEFAULT, MQCCSI_EMBEDDED, MQCCSI_Q_MGR, and MQCCSI_UNDEFINED are not valid in this field.
Parent topic: API reason codes