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 Java / JMS » Problem with PCF Java Classes

Post new topic  Reply to topic
 Problem with PCF Java Classes « View previous topic :: View next topic » 
Author Message
arunmakhija
PostPosted: Thu Jan 02, 2003 4:04 pm    Post subject: Problem with PCF Java Classes Reply with quote

Novice

Joined: 17 Jun 2002
Posts: 20
Location: Sydney

Hi
I am trying to retrieve Queue Attributes using PCF Classes and if I
INQUIRE only 1 queue the code works fine
Code:

request = new PCFMessage (CMQCFC.MQCMD_INQUIRE_Q);
request.addParameter (CMQC.MQCA_Q_NAME, queueName);

When I need attributes from all queues I use this
Code:
request.addParameter (CMQC.MQCA_Q_NAME, "*");

and this works fine too

but if I need attributes from a list of queues, I cant figure out how to use it
i have tried following:
Code:


String [] strQueue = new String [] {"QUEUE 1","QUEUE 2","QUEUE 3"};

request.addParameter (CMQCFC.MQCACF_Q_NAMES, strQueue);
OR
request.addParameter (CMQCFC.MQCACF_LOCAL_Q_NAMES, strQueue);


Any help wud be appreciated

later
Arun
_________________
In Celebration of Being Alive !!!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Problem with PCF Java Classes
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.