Remote Queue Name Error



Event name: Remote Queue Name Error.
Reason code in MQCFH: MQRC_REMOTE_Q_NAME_ERROR (2184, X'888').
Remote queue name not valid.
Event description: On an MQOPEN or MQPUT1 call either:

  • A local definition of a remote queue (or an alias to one) was specified, but the RemoteQName attribute in the remote queue definition is blank. Note that this error occurs even if the XmitQName in the definition is not blank.

    or

  • The ObjectQMgrName field in the object descriptor is not blank and not the name of the local queue manager, but the ObjectName field is blank.
Event type: Remote.
Platforms: All.
Event queue: SYSTEM.ADMIN.QMGR.EVENT.

 

Event data

QMgrName

Description: Name of the queue manager generating the event.
Identifier: MQCA_Q_MGR_NAME.
Datatype: MQCFST.
Maximum length: MQ_Q_MGR_NAME_LENGTH.
Returned: Always.

QName

Description: Queue name from object descriptor (MQOD).
Identifier: MQCA_Q_NAME.
Datatype: MQCFST.
Maximum length: MQ_Q_NAME_LENGTH.
Returned: Always.

ApplType

Description: Type of application making the MQI call that caused the event.
Identifier: MQIA_APPL_TYPE.
Datatype: MQCFIN.
Returned: Always.

ApplName

Description: Name of the application making the MQI call that caused the event.
Identifier: MQCACF_APPL_NAME.
Datatype: MQCFST.
Maximum length: MQ_APPL_NAME_LENGTH.
Returned: Always.

ObjectQMgrName

Description: Name of the object queue manager.
Identifier: MQCACF_OBJECT_Q_MGR_NAME.
Datatype: MQCFST.
Maximum length: MQ_Q_MGR_NAME_LENGTH.
Returned: If the ObjectName in the object descriptor (MQOD), when the object was opened, is not the queue manager currently connected.

Note:
If the application is a server for clients the ApplType and ApplName parameters identify the server not the client.