Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
MQOPEN failing with 2196 unknown xmitq

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1544
Location: Andromeda Galaxy

PostPosted: Thu Mar 08, 2012 3:08 pm    Post subject: MQOPEN failing with 2196 unknown xmitq
Reply with quote

When I am trying to open a queue in a cics program it is failing with 2196 which is something to do with unknwon XMITQ .The XMITQ('xxxx') (For example) is already present while defining the queue of similar kind.But irrespective of that I get the error unknown xmit queue where as the other queue which has same xmit queue as the above queue is working fine but the other is not.

The Link says

Code:
2196 (0894) (RC2196): MQRC_UNKNOWN_XMIT_Q

Explanation
On an MQOPEN or MQPUT1 call, a message is to be sent to a remote queue manager. The ObjectName or the ObjectQMgrName in the object descriptor specifies the name of a local definition of a remote queue (in the latter case queue-manager aliasing is being used), but the XmitQName attribute of the definition is not blank and not the name of a locally-defined queue.

Completion Code
MQCC_FAILED

Programmer response
Check the values specified for ObjectName and ObjectQMgrName. If these are correct, check the queue definitions. For more information on transmission queues, see the WebSphere MQ Application Programming Guide.


which is different from my understanding

Could anyone please guide me why did this occur?

Thanks.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Thu Mar 08, 2012 3:33 pm    Post subject:
Reply with quote

premkrishnan,

all these obj handle errors are a result of one reason:

what you are passing to the mqs open does not match the mqs set-up/definitons.....................period

either because you have garbaged it up in your program
or
what you think the name is (what you have for your program)
does not match the mqs set-up.

nothing magical about it.

same as
calling a program that does not exist in the loadlib
selecting a column that does not exist in your db2 dsn
selecting from a table that does not exist in your db2 dsn
trying to use a db2 plan that does not exist
...

use your mqs utilities and determine that associated names with queues
and compare with what you are passing to your mqs module.

i would not suggest asking someone what the names are,
find out yourself.

i know that you are relatively new to mqs, so you have a learning curve.
you should spend the time to acquaint yourself with the mqs utilities installed at your site.
usage of the utilities to determine the queue name/queue manager relationships
will save you a lot of time.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1544
Location: Andromeda Galaxy

PostPosted: Thu Mar 08, 2012 8:05 pm    Post subject:
Reply with quote

Dick Brenholtz ,


Thanks for the eye opener icon_smile.gif

I did figure out ma mistake icon_biggrin.gif and it works now....
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Thu Mar 08, 2012 8:08 pm    Post subject:
Reply with quote

schoen!
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1544
Location: Andromeda Galaxy

PostPosted: Thu Mar 08, 2012 8:12 pm    Post subject:
Reply with quote

Thanks!! icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts TSO Logon Failing - Acount Not matching SLNewton TSO/ISPF 1 Thu Aug 25, 2016 9:37 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm
No new posts Copy book replace, compilation is fai... vinuseba COBOL Programming 12 Thu Feb 20, 2014 3:40 pm
No new posts IAM File Dynamic Allocation Failing vj.kbay JCL & VSAM 6 Thu Oct 17, 2013 1:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us