2057 (0809) (RC2057): MQRC_Q_TYPE_ERROR
Explanation
One of the following occurred:
- On an MQOPEN call, the
ObjectQMgrName
field in the object descriptor MQOD or object record MQOR specifies the name of a local definition of a remote queue (to specify a queue-manager alias), and in that local definition theRemoteQMgrName
attribute is the name of the local queue manager. However, theObjectName
field in MQOD or MQOR specifies the name of a model queue on the local queue manager; this is not allowed. For more information, see MQOPEN. - On an MQPUT1 call, the object descriptor MQOD or object record MQOR specifies the name of a model queue.
- On a previous MQPUT or MQPUT1 call, the
ReplyToQ
field in the message descriptor specified the name of a model queue, but a model queue cannot be specified as the destination for reply or report messages. Only the name of a predefined queue, or the name of the dynamic queue created from the model queue, can be specified as the destination. In this situation the reason code MQRC_Q_TYPE_ERROR is returned in theReason
field of the MQDLH structure when the reply message or report message is placed on the dead-letter queue.
Completion Code
MQCC_FAILED
Programmer response
Specify a valid queue.