|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
PCF response in java |
« View previous topic :: View next topic » |
Author |
Message
|
chund |
Posted: Tue Dec 17, 2002 2:38 am Post subject: PCF response in java |
|
|
 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 |
|
 |
clindsey |
Posted: Tue Dec 17, 2002 7:27 am Post subject: |
|
|
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 |
|
 |
chund |
Posted: Wed Dec 18, 2002 6:02 pm Post subject: PCF response |
|
|
 Newbie
Joined: 01 Dec 2002 Posts: 7
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|