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 Index » General IBM MQ Support » MQRC 2082

Post new topic  Reply to topic
 MQRC 2082 « View previous topic :: View next topic » 
Author Message
suneel
PostPosted: Thu May 10, 2012 12:51 am    Post subject: MQRC 2082 Reply with quote

Voyager

Joined: 06 Nov 2009
Posts: 89

Hi Team,

i am facing an issue. When application is trying to get the message from alias queue through SVRCONN channel it is getting 2082, but when it is connecting to direct cluster local queue which is target queue of ALIAS queue it is working fine. Any thing i need to check at MQ end?

ALIAS queue DEFBIND is NOTFIXED

TIA
Back to top
View user's profile Send private message Send e-mail
suneel
PostPosted: Thu May 10, 2012 12:59 am    Post subject: Reply with quote

Voyager

Joined: 06 Nov 2009
Posts: 89

PFB definitions

AMQ8409: Display Queue details.
QUEUE(MS.AL.VWM.MET_OR_MET_TO_VWM_RES.01)
TYPE(QALIAS) ALTDATE(2012-04-27)
ALTTIME(22.29.16)
TARGET(MS.CL.METVWMP2.EMB.MET_OR_MET_TO_VWM_RES.01)
CLUSNL( ) CLUSTER( )
CLWLPRTY(0) CLWLRANK(0)
DEFBIND(NOTFIXED) DEFPRTY(0)
DEFPSIST(YES) DEFPRESP(SYNC)
DEFREADA(NO)
DESCR(MQ05652 : AliasQueue for MS.QM.EMB401P3)
GET(ENABLED) PUT(ENABLED)
PROPCTL(COMPAT) SCOPE(QMGR)
TARGTYPE(QUEUE)

Code:



dis ql(MS.CL.METVWMP2.EMB.MET_OR_MET_TO_VWM_RES.01) all
     2 : dis ql(MS.CL.METVWMP2.EMB.MET_OR_MET_TO_VWM_RES.01) all
AMQ8409: Display Queue details.
   QUEUE(MS.CL.METVWMP2.EMB.MET_OR_MET_TO_VWM_RES.01)
   TYPE(QLOCAL)                            ACCTQ(QMGR)
   ALTDATE(2012-04-27)                     ALTTIME(22.29.16)
   BOQNAME( )                              BOTHRESH(0)
   CLUSNL( )                               CLUSTER(MS.CL.METVWMP2)
   CLWLPRTY(0)                             CLWLRANK(0)
   CLWLUSEQ(QMGR)                          CRDATE(2012-04-27)
   CRTIME(22.29.16)                        CURDEPTH(0)
   DEFBIND(NOTFIXED)                       DEFPRTY(0)
   DEFPSIST(YES)                           DEFPRESP(SYNC)
   DEFREADA(NO)                            DEFSOPT(SHARED)
   DEFTYPE(PREDEFINED)
   DESCR(MQ05652 : ClusterLocalQueue for MS.QM.MB401P3)
   DISTL(NO)                               GET(ENABLED)
   HARDENBO                                INITQ( )
   IPPROCS(0)                              MAXDEPTH(100000)
   MAXMSGL(4194304)                        MONQ(QMGR)
   MSGDLVSQ(PRIORITY)                      NOTRIGGER
   NPMCLASS(NORMAL)                        OPPROCS(0)
   PROCESS( )                              PUT(ENABLED)
   PROPCTL(COMPAT)                         QDEPTHHI(80)
   QDEPTHLO(20)                            QDPHIEV(DISABLED)
   QDPLOEV(DISABLED)                       QDPMAXEV(ENABLED)
   QSVCIEV(NONE)                           QSVCINT(999999999)
   RETINTVL(999999999)                     SCOPE(QMGR)
   SHARE                                   STATQ(QMGR)
   TRIGDATA( )                             TRIGDPTH(1)
   TRIGMPRI(0)                             TRIGTYPE(FIRST)
   USAGE(NORMAL)
Back to top
View user's profile Send private message Send e-mail
suneel
PostPosted: Thu May 10, 2012 1:33 am    Post subject: Reply with quote

Voyager

Joined: 06 Nov 2009
Posts: 89

MQ stub program is

Code:



//consuming message on MQ
if(destinationType.equals(MQ_INQ_NAME)){
                                                                int openOptionsRead = MQC.MQOO_INPUT_AS_Q_DEF | MQC.MQOO_INQUIRE;
                                                                mqQueue = mqMgr.accessQueue(qName,openOptionsRead,null,null,null);
                                 }
                                //sending message on MQ
                                else{
                                                  mqQueue = mqMgr.accessQueue(qName, MQC.MQOO_OUTPUT | MQC.MQOO_SET_IDENTITY_CONTEXT, null, null, null);
                                }
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Thu May 10, 2012 2:09 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

and both - the aalias and the qlocal - are on the same queuemanager that the program is connected to?!? either local or via SVRCONN?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
suneel
PostPosted: Thu May 10, 2012 2:10 am    Post subject: Reply with quote

Voyager

Joined: 06 Nov 2009
Posts: 89

Yes, Both are on same queue manager.
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Thu May 10, 2012 2:34 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

ok just for my understanding

you connect via SVRCONN, use qalias for MQGET and receive the 2082

you connect via SVRCONN, use qlocal for MQGET and it works?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
suneel
PostPosted: Thu May 10, 2012 2:35 am    Post subject: Reply with quote

Voyager

Joined: 06 Nov 2009
Posts: 89

Yes your understanding is correct
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Thu May 10, 2012 2:47 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

mhhh to me that inquire is suspect. maybe this old thread applies.

http://www.mqseries.net/phpBB2/viewtopic.php?t=35256&highlight=&sid=487eadfb7ec0a0cd28b25e249503c3de
_________________
Regards, Butcher
Back to top
View user's profile Send private message
suneel
PostPosted: Thu May 10, 2012 2:53 am    Post subject: Reply with quote

Voyager

Joined: 06 Nov 2009
Posts: 89

but i think the thread you have given is for putting message, in my case it is getting message
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Thu May 10, 2012 2:58 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

yes, but both do an inquire first imho.

however, for mqget there should not be a cluster naming resolution, as this is something "local-only". (therefore what you wrote in the beginning about binding and clustering should not apply to the mqget as there is no cluster workloadbalancing for mqget). but i think there is cluster naming resolution for the inquire.

what happens, if you sign on locally to the queuemanager machine and use amqsget (or amqsbcg) on the alias queue name? i bet this works.....

but maybe i am totally wrong with this.

i hope you use a most recent, up-to-date mq version?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
suneel
PostPosted: Thu May 10, 2012 3:37 am    Post subject: Reply with quote

Voyager

Joined: 06 Nov 2009
Posts: 89

yes, when i login to server and use amqsbcg it is working.. i am using MQ7
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQRC 2082
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.