IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

MQOPEN failing with 2196 unknown xmitq


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pandora-Box

Global Moderator


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

PostPosted: Thu Mar 08, 2012 3:08 pm
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: 6966
Location: porcelain throne

PostPosted: Thu Mar 08, 2012 3:33 pm
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

Global Moderator


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

PostPosted: Thu Mar 08, 2012 8:05 pm
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: 6966
Location: porcelain throne

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

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

Global Moderator


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

PostPosted: Thu Mar 08, 2012 8:12 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts SMF Record Date conversion failing CLIST & REXX 1
No new posts REXX exec (opercmd) failing quietly o... All Other Mainframe Topics 2
No new posts Invoke WebService failing with respon... CICS 3
No new posts Copy records with unknown LRECL DFSORT/ICETOOL 8
No new posts Job failing with USER = 4093 REASON C... ABENDS & Debugging 1
Search our Forums:

Back to Top