Mqopen 2085 Error
Contents |
2085 MQRC_UNKNOWN_OBJECT_NAME MQRC_UNKNOWN_OBJECT_NAME MQRC_UNKNOWN_OBJECT_NAME unknown object name Technote (troubleshooting) Problem(Abstract) Your WebSphere MQ application program fails with reason code 2085 (MQRC_UNKNOWN_OBJECT_NAME) mq 2085 reason code 2 when you attempt to open a queue. 2085 0x00000825 MQRC UNKNOWN OBJECT
Mq Error Code 2058
NAME Cause This reason code is issued when an application opens a queue, and the queue manager cannot mqopen failed with reason code 2085 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
Failed To Open Queue. Reason Code 2085
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 mq error 2019 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 Document information More su
is a repository of the stuff that I learn, play with, enjoy and want to share. If you follow one of my tips, your mileage MAY well vary - Here be
Websphere Mq Call Failed With Compcode 2 Mqcc_failed Reason 2085 Mqrc_unknown_object_name
dragons :-) Thursday, 9 April 2015 MQOPEN ended with reason code 2085 - WebSphere MQ
Mqrc 2082
and Clustered Queues I hit this problem earlier today: -/opt/ibm/mqm/usr/mqm/samp/bin/amqsput ESB.TO.BPM.CLQ ESB1.DEV1Sample AMQSPUT0 starttarget queue is ESB.TO.BPM.CLQMQOPEN ended with reason code 2085unable mq error 2033 to open queue for outputSample AMQSPUT0 endI could see the queue on the Queue Manager local to where I was running the command ( my ESB box, running IIB 9 and MQ 8 ).However, when I http://www.ibm.com/support/docview.wss?uid=swg21166940 looked more deeply: -display queue(ESB*) 1 : display queue(ESB*)AMQ8409: Display Queue details. QUEUE(ESB.TO.BPM.CLQ) TYPE(QLOCAL)display queue(ESB.TO.BPM.CLQ) 2 : display queue(ESB.TO.BPM.CLQ)AMQ8409: Display Queue details. QUEUE(ESB.TO.BPM.CLQ) TYPE(QLOCAL) ACCTQ(QMGR) ALTDATE(2015-04-07) ALTTIME(13.28.28) BOQNAME( ) BOTHRESH(0) http://portal2portal.blogspot.com/2015/04/mqopen-ended-with-reason-code-2085.html CLUSNL( ) CLUSTER(UAT1) CLCHNAME( ) CLWLPRTY(0) CLWLRANK(0) CLWLUSEQ(ANY) CRDATE(2015-04-07) CRTIME(13.28.28) CURDEPTH(0) CUSTOM( ) DEFBIND(NOTFIXED) DEFPRTY(0) DEFPSIST(YES) DEFPRESP(SYNC) DEFREADA(NO)….I could immediately see the problem ….The cluster to which I was expecting the Queue to belong was called DEV1and yet the CLUSTER() value above was set to UAT1.I verified this: -display CLUSQMGR(*) 5 : display CLUSQMGR(*)AMQ8441: Display Cluster Queue Manager details. CLUSQMGR(LRPO1.DEV1) CHANNEL(DEV1.LRPO1.DEV1) CLUSTER(DEV1)AMQ8441: Display Cluster Queue Manager details. CLUSQMGR(REP1.DEV1) CHANNEL(DEV1.REP1.DEV1) CLUSTER(DEV1)AMQ8441: Display Cluster Queue Manager details. CLUSQMGR(REP2.DEV1) CHANNEL(DEV1.REP2.DEV1) CLUSTER(DEV1)which confirmed that the cluster name should ind
06-Apr-2009 Related Document Categories: Get my WebSphere http://www.webspheretools.com/sites/webspheretools.nsf/docs/MQOPEN%20ended%20with%20reason%20code%202085 MQ course here >> http://www.themiddlewareshop.com/products/ MQOPEN ended with reason code 2085 -bash-3.00$ /opt/mqm/samp/bin/amqsput LQ.Test TSTDADQ1 Sample AMQSPUT0 start target queue is LQ.Test MQOPEN ended with reason code 2085 unable to open queue for output Sample AMQSPUT0 end Thee reason is code 2 the queue is called LQ.TEST not LQ.Test Get my WebSphere MQ course here >> http://www.themiddlewareshop.com/products/ About Me Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across reason code 2 the world. Steve specialises in Java and Middleware. In January 2013, I was awarded the prestigous 'IBM Champion' accolade. Linked In Twitter About Me My Blog Contact Me Read my books? IBM WebSphere Application Server 8.0 Administration Guide WebSphere Application Server 7.0 Administration Guide WebSphere Blog Recent Articles All Articles WebSphere Categories WebSphere Consultant WebSphere Application Server WebSphere Message Broker WebSphere MQ Jython JACL Install Rational Other Categories Shell Scripts Java Consultant Java Sample Code JMS MBeans Tomcat Clustering & Load balance> Websphere Tips Eclipse Contact | Articles | Shell Scripts | Java Code | JACL | Jython | WebSphere MQ | WebSphere Message Broker | WebSphere Blog | © Copyright 2006-2013 Robinson (UK) Limited