Unknown Object Name



Event name: Unknown Object Name.
Reason code in MQCFH: MQRC_UNKNOWN_OBJECT_NAME (2085, X'825').
Unknown object name.
Event description: On an MQOPEN or MQPUT1 call, the ObjectQMgrName field in the object descriptor MQOD is set to one of the following. It is either:

  • Blank

  • The name of the local queue manager

  • The name of a local definition of a remote queue (a queue-manager alias) in which the RemoteQMgrName attribute is the name of the local queue manager

However, the ObjectName in the object descriptor is not recognized for the specified object type.

See also MQRC_Q_DELETED.

Event type: Local.
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.

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.

QName

Description: Queue name from object descriptor (MQOD).
Identifier: MQCA_BASE_Q_NAME.
Datatype: MQCFST.
Maximum length: MQ_Q_NAME_LENGTH.
Returned: Always unless ProcessName is returned. Either ProcessName or QName is returned.

ProcessName

Description: Name of the process (application) making the MQI call that caused the event.
Identifier: MQCA_PROCESS_NAME.
Datatype: MQCFST.
Maximum length: MQ_PROCESS_NAME_LENGTH.
Returned: Always, unless QName is returned. Either ProcessName or QName is returned.

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.