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 » Inquire QStatus using (ms0b) com.ibm.mq.pcf question

Post new topic  Reply to topic
 Inquire QStatus using (ms0b) com.ibm.mq.pcf question « View previous topic :: View next topic » 
Author Message
WannaBeInAParker
PostPosted: Mon Nov 21, 2005 10:10 am    Post subject: Inquire QStatus using (ms0b) com.ibm.mq.pcf question Reply with quote

Voyager

Joined: 09 Dec 2003
Posts: 81

Has anyone been able to successfully inquire the queue status (Type Handle) with the Parameters MQIACF_ALL or as follows using support pac ms0b on MQSeries 6.0:

pcfRequest = new PCFMessage( CMQCFC.MQCMD_INQUIRE_Q_STATUS );
pcfRequest.addParameter( CMQC.MQCA_Q_NAME, instrQueue );
pcfRequest.addParameter( CMQCFC.MQIACF_Q_STATUS_TYPE, CMQCFC.MQIACF_Q_HANDLE );

pcfRequest.addParameter( CMQCFC.MQIACF_Q_STATUS_ATTRS,
new int [] { CMQCFC.MQIACF_PROCESS_ID,
CMQCFC.MQIACF_THREAD_ID,
CMQCFC.MQCACF_APPL_TAG,
CMQC.MQIA_APPL_TYPE,
CMQCFC.MQIACF_OPEN_BROWSE,
CMQCFC.MQIACF_OPEN_INPUT_TYPE,
CMQCFC.MQIACF_OPEN_INQUIRE,
CMQCFC.MQIACF_OPEN_OUTPUT,
CMQCFC.MQIACF_OPEN_SET,
CMQCFC.MQCACH_CHANNEL_NAME,
CMQCFC.MQCACH_CONNECTION_NAME,
CMQCFC.MQCACF_USER_IDENTIFIER,
WassupMQGlobals.WASSUPMQ_MQIACF_UOW_TYPE,
WassupMQGlobals.WASSUPMQ_MQBACF_Q_MGR_UOW_ID
} );

I am guessing that I may be running into an issue with the support pack MS0b and the Byte parameters not being supported. I am getting a 3013: MQRCCF_STRUCTURE_TYPE_ERROR. Maybe the com.ibm.mq.pcf libraries do not support 7000 range Parameter Types???

Thanks in advance
_________________
-WannaBe-
Back to top
View user's profile Send private message
WannaBeInAParker
PostPosted: Mon Nov 21, 2005 8:29 pm    Post subject: Reply with quote

Voyager

Joined: 09 Dec 2003
Posts: 81

I found the answer, figured I would share if anyone else runs into this.

The latest version of the com.ibm.mq.pcf.jar file available via the SupportPacs (today) does not support the Byte Parameters for PCF commands. The latest version 6.0.1 that will be available soon via SupportPacs download works with the code included above.
_________________
-WannaBe-
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 » Inquire QStatus using (ms0b) com.ibm.mq.pcf question
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.