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 » PCF response in java

Post new topic  Reply to topic
 PCF response in java « View previous topic :: View next topic » 
Author Message
chund
PostPosted: Tue Dec 17, 2002 2:38 am    Post subject: PCF response in java Reply with quote

Newbie

Joined: 01 Dec 2002
Posts: 7

Hi,
I am using PCF classes for java to get the queuemanager attributes.
After receiving the PCFResponse I try to display the deatils.
The problem is that I cannot find a way to map the cryptic numbers
returned by <PCFParameter>.getParameter() to a meaningful attribute name.
Some numbers like 2015,2014 etc are coming for attribute id.How to get the
attribute name?I could not find anything in the docs.
thanks
sam
Back to top
View user's profile Send private message
clindsey
PostPosted: Tue Dec 17, 2002 7:27 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Sam,

I will agree that these are difficult to find, but most are in the interfaces CMQC, CMQCFC, and CMQXC. What works for me is to go to the include directory for the c include files <mqtop>\tools\c\include and grep for what I need, like 2014, 2015. You will find that these are in cmqc.h as MQCA_Q_MGR_DESC and MQCA_Q_MGR_NAME. Then go look at the api doc for the cmqc interface and you will find a match, CMQC.MQCA_Q_MGR_DESC and CMQC.MQCA_Q_MGR_NAME.

Occasionally I find an item in the header and there is just no match in any of the interfaces. Then I just create my own private definition.

Hope this helps,
Charlie
Back to top
View user's profile Send private message
chund
PostPosted: Wed Dec 18, 2002 6:02 pm    Post subject: PCF response Reply with quote

Newbie

Joined: 01 Dec 2002
Posts: 7

thanks a lot.
sam
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 Java / JMS » PCF response in java
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.