2265 (08D9) (RC2265): MQRC_TM_ERROR

Explanation

An MQPUT or MQPUT1 call was issued, but the message data contains an MQTM structure that is not valid. Possible errors include the following:
  • The StrucId field is not MQTM_STRUC_ID.
  • The Version field is not MQTM_VERSION_1.
  • 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).

Completion code

MQCC_FAILED

Programmer response

Check that the fields in the structure are set correctly.