What it means
The object named in the MQOD is not known to the queue manager. IBM lists these cases: the object is not on the local queue manager and the queue manager name is blank, local, or a local alias pointing back to it; it is a cluster queue on a remote queue manager with no defined route; it is a queue definition with QSGDISP(GROUP), which cannot be used in these calls; or the MQOD names the local queue manager but that one does not host the cluster queue.
The code can also appear during REFRESH CLUSTER or when a command refers to an object that does not exist.
Typical causes
- The object does not exist on the local queue manager.
- The name is wrong or not padded with trailing blanks.
- A cluster queue has no defined route to the queue manager that hosts it.
- The definition is QSGDISP(GROUP), which these calls cannot use.
- The MQOD names the local queue manager, which does not host the cluster queue.
How to fix it
- Verify the object name, padding it with trailing blanks if needed.
- If the name is right, check the object definitions.
- For a cluster queue, leave the queue manager name blank and open for output only, since messages cannot be got from a remote cluster queue.
Example
Illustrative only; names and values are invented.
MQOPEN failed CompCode=2 Reason=2085 Queue=APP.REQUEST.QUEUE QMgr=QM01