|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Inquire QStatus using (ms0b) com.ibm.mq.pcf question |
« View previous topic :: View next topic » |
Author |
Message
|
WannaBeInAParker |
Posted: Mon Nov 21, 2005 10:10 am Post subject: Inquire QStatus using (ms0b) com.ibm.mq.pcf question |
|
|
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 |
|
 |
WannaBeInAParker |
Posted: Mon Nov 21, 2005 8:29 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|