ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexIBM MQ API SupportRegarding COD

Post new topicReply to topic
Regarding COD View previous topic :: View next topic
Author Message
kvnathan
PostPosted: Mon Oct 22, 2001 11:50 am Post subject: Reply with quote

Novice

Joined: 19 Oct 2001
Posts: 19

First we created QueueManagers and all objects of both ends. And we loaded all our java Mq program and tested. That time everything worked fine, we received COA,COD everything.
Then after all coding part is over, we started testing.Till this time everything worked fine. Then we decided to start test from the scratch. so we deleted all the queue managers and its objects.
Then we recreated the same. After this we are not receiving COD for the same tested java code.But apart from COD everything is working fine. Since the reasoncode says 2035, we are in doubt wheather the qmanagers and objects we deleted, is deleted fully.
Please clarify in this regard.

we downloaded the MQJExplorer and we installed and saw the DLH in windows NT. There it says the reasoncode as 2035. As our real project is based on sun solaris we are not able to use MQJExplorer. So we don't know what will be the reason code in sun solaris. But anyway i think the reasoncode will be same both on NT and sun solaris.
And herewith we are attaching the scripts we are used to create objects in MQ. Please see is this the right way to create the MQ objects. Here i am looking for your reply.

crtmqm A

Local Queue
--------------
DEFINE QLOCAL(A.LISTEN) LIKE(SYSTEM.DEFAULT.LOCAL.QUEUE) MAXDEPTH(5000) MAXMSGL(4194304) PUT(ENABLED) GET(ENABLED) USAGE(NORMAL) QDEPTHHI(80) QDEPTHLO(20) QDPHIEV(ENABLED) QDPLOEV(DISABLED) QDPMAXEV(ENABLED) DEFPSIST(YES) MSGDLVSQ(FIFO) REPLACE

Transmission Queue
-------------------

DEFINE QLOCAL(B) DEFPSIST(YES) INITQ(CHANNEL.INITQ) MAXDEPTH(640000) TRIGGER USAGE(XMITQ) REPLACE DESCR('Xmit queue for transmitting txns to B')

Remote Queue
-----------------

DEFINE QREMOTE(A.REMOTE) RNAME(B.LISTEN) RQMNAME(B) DEFPSIST(YES) XMITQ(B) PUT(ENABLED) REPLACE DESCR('Remote Queue Def to B')


Sender Channel
----------------

DEFINE CHANNEL(A.B) CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('...') XMITQ(B) DISCINT(0) REPLACE DESCR('Channel to transmit message to B')

Receiver Channel
------------------

DEFINE CHANNEL(B.A) CHLTYPE(RCVR) TRPTYPE(TCP) REPLACE

DeadLetter Queue
-----------------

DEFINE QLOCAL(A.DLQ) LIKE(SYSTEM.DEAD.LETTER.QUEUE)

ALTER QMGR DEADQ(A.DLQ)

Back to top
View user's profile Send private message Send e-mail
msiegert
PostPosted: Fri Oct 26, 2001 5:45 am Post subject: Reply with quote

Apprentice

Joined: 05 Aug 2001
Posts: 29

Hi!

The reason code 2035 means "no authorization", it is the same code on every platform supported by MQSeries
check the authorization of your user ID with:
dspmqaut -m qmgrname -t qmgr -p prinipalname
or -g groupname
in addition for queues:
dspmqaut -m qmgrname -t qmgr -n queuename -p prinipalname or -g groupname

so far I can see your definitions are right
you can check your definition if you run them with runmqsc < defintion file name > outfile and then check the outputfile.

regards Marc
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ API SupportRegarding COD
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.