2092 (082C) (RC2092): MQRC_XMIT_Q_USAGE_ERROR
Explanation
On an MQOPEN or MQPUT1 call, a message is to be sent to a remote queue manager, but one of the following occurred:- ObjectQMgrName specifies the name of a local queue, but it does not have a Usage attribute of MQUS_TRANSMISSION.
- The ObjectName or ObjectQMgrName field in the object
descriptor specifies the name of a local definition of a remote queue but one of the following
applies to the XmitQName attribute of the definition:
- XmitQName is not blank, but specifies a queue that does not have a Usage attribute of MQUS_TRANSMISSION
- XmitQName is blank, but RemoteQMgrName specifies a queue that does not have a Usage attribute of MQUS_TRANSMISSION
- XmitQName specifies the queue SYSTEM.QSG.TRANSMIT.QUEUE the IGQ queue manager attribute indicates that IGQ is DISABLED.
- The queue name is resolved through a cell directory, and the remote queue manager name obtained from the cell directory is the name of a local queue, but it does not have a Usage attribute of MQUS_TRANSMISSION.
Completion code
MQCC_FAILED
Programmer response
Check the values specified for ObjectName and ObjectQMgrName. If these are correct, check the queue definitions.
This reason code is also used to identify the corresponding event message Transmission Queue Usage Error.