2197 (0895) (RC2197): MQRC_UNKNOWN_DEF_XMIT_Q
Explanation
An MQOPEN or MQPUT1 call was issued specifying a remote queue as the destination. If a local definition of the remote queue was specified, or if a queue manager alias is being resolved, the XmitQName attribute in the local definition is blank.
Because there is no queue defined with the same name as the destination queue manager, the queue manager has attempted to use the default transmission queue. However, the name defined by the DefXmitQName queue manager attribute is not the name of a locally-defined queue.
Completion code
MQCC_FAILED
Programmer response
Correct the queue definitions, or the queue manager attribute.
This reason code is also used to identify the corresponding event message Unknown Default Transmission Queue.
Parent topic: API reason codes