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 » IBM MQ API Support » PCFMessage fails with 2085 for MQCMD_INQUIRE_CLUSTER_Q_MGR

Post new topic  Reply to topic
 PCFMessage fails with 2085 for MQCMD_INQUIRE_CLUSTER_Q_MGR « View previous topic :: View next topic » 
Author Message
fbronx
PostPosted: Fri Sep 07, 2007 12:07 am    Post subject: PCFMessage fails with 2085 for MQCMD_INQUIRE_CLUSTER_Q_MGR Reply with quote

Novice

Joined: 11 Apr 2007
Posts: 22

I get a reason code 2085 (Unknown object name) when I try to send the pcf command MQCMD_INQUIRE_CLUSTER_Q_MGR.

Code:
PCFMessageAgent agent = new PCFMessageAgent(qmgr);
PCFMessage request = new PCFMessage(CMQCFC.MQCMD_INQUIRE_CLUSTER_Q_MGR);
request.addParameter(MQC.MQCA_CLUSTER_Q_MGR_NAME, "*"); //qmgr.name);
request.addParameter(CMQCFC.MQIACF_CLUSTER_Q_MGR_ATTRS, new int[]{MQC.MQCA_CLUSTER_NAME});
       
PCFMessage responses[] = agent.send(request);


In the same program, I also inquire the channelnames and that works:

Code:

PCFMessageAgent agent = new PCFMessageAgent(qmgr);
PCFMessage request = new PCFMessage(CMQCFC.MQCMD_INQUIRE_CHANNEL);
request.addParameter(CMQCFC.MQCACH_CHANNEL_NAME, "*");
request.addParameter(CMQCFC.MQIACH_CHANNEL_TYPE, CMQXC.MQCHT_CLNTCONN);
request.addParameter(CMQCFC.MQIACF_CHANNEL_ATTRS, new int[]{CMQCFC.MQCACH_CONNECTION_NAME, CMQC.MQCA_Q_MGR_NAME});
PCFMessage responses[] = agent.send(request);


What am I doing wrong when I inquire the cluster qmgr?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 07, 2007 3:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What does "dis clusqmgr(*)" return when run against the same qmgr?

I'm assuming you've validated that the qmgr is in a cluster...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » PCFMessage fails with 2085 for MQCMD_INQUIRE_CLUSTER_Q_MGR
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.