View previous topic :: View next topic
|
Author |
Message |
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Dick Brenholtz ,
Thanks for the eye opener
I did figure out ma mistake and it works now.... |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
schoen! |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Thanks!! |
|
Back to top |
|
|
|