2029 (07ED) (RC2029): MQRC_MSG_TYPE_ERROR
Explanation
Either:- On an MQPUT or MQPUT1 call, the value specified for the MsgType field in the message descriptor (MQMD) is not valid.
- A message processing program received a message that does not have the expected message type. For example, if the IBM MQ command server receives a message which is not a request message (MQMT_REQUEST) then it rejects the request with this reason code.
Completion code
MQCC_FAILED
Programmer response
Specify a valid value for the MsgType field. In the case where a request is rejected by a message processing program, refer to the documentation for that program for details of the message types that it supports.
Parent topic: API reason codes