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).

This reason code occurs in the following environments: AIX®, HP-UX, IBM® i, Solaris, Windows, plus WebSphere® MQ clients connected to these systems.

Completion Code

MQCC_FAILED

Programmer response

Check that the fields in the structure are set correctly.