2085 (0825) (RC2085): MQRC_UNKNOWN_OBJECT_NAME
Explanation
An MQOPEN, MQPUT1
, or MQSUB call was issued, but the object identified by
the
ObjectName
and
ObjectQMgrName
fields in the object
descriptor MQOD cannot be found. One of the following applies: - The
ObjectQMgrName
field is one of the following:- 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
ObjectName
andObjectType
exists on the local queue manager. - The object being opened is a cluster queue that is hosted on a remote queue manager, but the local queue manager does not have a defined route to the remote queue manager.
- The MQOD in the failing application specifies the name of the local queue manager in
ObjectQMgrName
. The local queue manager does not host the particular cluster queue specified inObjectName
.The solution in this environment is to leave
ObjectQMgrName
of the MQOD blank.
This can also occur in response to a command that specifies the name of an object or other item that does not exist.
Completion Code
MQCC_FAILED
Programmer response
Specify a valid object name. Ensure that the name is padded with blanks at the end, if necessary. If this is correct, check the object definitions.