[UNIX, Linux, Windows, IBM i]

2191 (088F) (RC2191): MQRC_TMC_ERROR

Explanation

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