2085 MQRC UNKNOWN OBJECT NAME

Technote (troubleshooting)


Problem(Abstract)

Your WebSphere MQ application program fails with reason code 2085 (MQRC_UNKNOWN_OBJECT_NAME) when you attempt to open a queue.

2085 0x00000825 MQRC UNKNOWN OBJECT NAME

Cause

This reason code is issued when an application opens a queue, and the queue manager cannot resolve to a queue name specified in the MQOPEN object descriptor (MQOD).


The most likely reason is that a wrong queue name was specified on the MQOPEN API call.


Resolving the problem

Debugging techniques:

If the queue is a locally defined queue:

  • Verify that your program is connecting to the correct queue manager.
  • Use the MQSC dis ql(*) command to determine if the target queue is defined.
  • Make sure that your program specifies the correct queue name in the correct case.

If the queue is a cluster queue:
  • Same general rules as above.
  • If you expect the MQOPEN to resolve to a cluster queue that is not locally defined, you must not specify the ObjectQMgrName in the object descriptor (MQOD).
  • 2085 may indicate WebSphere MQ cluster configuration problems.
    • Ensure that the cluster queue managers have working channel connections to, and from the repository queue manager using: MQSC dis chs(*) command.
    • Ensure that the queue is shared in the cluster using: MQSC dis ql(*) command.
  • 2085 opening a cluster queue for input is not supported.

Corrective actions
  • Specify the correct queue name
  • Define the queue
  • Do not specify ObjectQMgrName in the object descriptor (MQOD)
  • Resolve cluster channel issues
  • Share the queue in the cluster



Example:
In this test we successfully put a message to target queue SVR.LQ. This works as expected.



Notice what happens when we specify this same queue name in lower case. We fail with 2085.

Related information

WebSphere MQ Library
A Japanese translation is available


Cross reference information
Segment Product Component Platform Version Edition
Business Integration WebSphere MQ Express Capability Linux, Windows 5.3

Product Alias/Synonym

WMQ MQ

Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere MQ
Application / API

Software version:

3.0, 5.3.1, 6.0, 6.0.2, 7.0, 7.0.1, 7.1, 7.5

Operating system(s):

AIX, HP-UX, IBM i, Linux, OpenVMS, Solaris, Tandem NSK, VSE, Windows, z/OS

Reference #:

1166940

Modified date:

2013-05-14

Translate my page

Machine Translation

Content navigation