2142 (085E) (RC2142): MQRC_HEADER_ERROR
StrucIdfield is not valid.
Versionfield is not valid.
StrucLengthfield specifies a value that is too small.
CodedCharSetIdfield is zero, or a negative value that is not valid.
- The BufferLength parameter of the call has a value that is too small to accommodate the structure (the structure extends beyond the end of the message).
Check that the fields in the structure are set correctly. Ensure that the application sets the
CodedCharSetId field to a valid value (note: MQCCSI_DEFAULT, MQCCSI_EMBEDDED, MQCCSI_Q_MGR, and MQCCSI_UNDEFINED are not valid in this field).