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 » General IBM MQ Support » PCF Inquire_Q_Status

Post new topic  Reply to topic
 PCF Inquire_Q_Status « View previous topic :: View next topic » 
Author Message
72dolfan
PostPosted: Thu Jul 20, 2006 8:46 am    Post subject: PCF Inquire_Q_Status Reply with quote

Acolyte

Joined: 02 May 2006
Posts: 53

Hi All,

Does anyone know if it's possible to filter on 'Usage' (whether a queue is normal or a transmit queue) when building an Inquir_Q_Status PCF command? I know 'Usage' in returned from an Inquire_Q PCF, but we're hoping we can still filter on 'Usage' even if it's not returned from Inquire_Q_Status.

We're coding our own in house MQ collector/monitor and we want to process queues (normal vs Xmitq) at different times. We're going to need the Q_Status info for both, but we also need to do an Inquire_Q on Xmitqs. Therefore, we'd like to process the normal queues first, then process the xmitqs.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Jul 20, 2006 10:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Well, you could try it, but the doc indicates that you can only filter on certain attributes that are returned in the query...

so, you might first have to filter on xmitq for a list of queues and then either use that list to drive the qstat query or do a match after you get the status of all the queues back.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
RogerLacroix
PostPosted: Thu Jul 20, 2006 9:13 pm    Post subject: Re: PCF Inquire_Q_Status Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,
72dolfan wrote:
We're coding our own in house MQ collector/monitor and we want to process queues (normal vs Xmitq) at different times. We're going to need the Q_Status info for both, but we also need to do an Inquire_Q on Xmitqs. Therefore, we'd like to process the normal queues first, then process the xmitqs.

You're approaching it too linear. Break everything into separate parts.
- Thread 'A' gathers all 'Queue Status' info
- Thread 'B' on its own timer queries/searches the Queue Status for info 'normal queue problems'.
- Thread 'C' on its own timer queries/searches the Queue Status info for 'xmitq queue problems'.

Don't forget to use semaphores.

Anyway, that's my 2 cents.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
72dolfan
PostPosted: Fri Jul 21, 2006 6:41 am    Post subject: Reply with quote

Acolyte

Joined: 02 May 2006
Posts: 53

wschutz wrote:
Well, you could try it, but the doc indicates that you can only filter on certain attributes that are returned in the query...

so, you might first have to filter on xmitq for a list of queues and then either use that list to drive the qstat query or do a match after you get the status of all the queues back.


Based on what you're saying, I would not be able to run a Inquire_Q_Status PCF on LOCAL QUEUES only, because Inquire_Q_Status does not return QType?

Is this correct?
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Jul 21, 2006 6:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
IntegerFilterCommand (MQCFIF)
Integer filter command descriptor. The parameter identifier must be any integer type parameter allowed in QStatusAttrs except MQIACF_ALL, MQIACF_MONITORING, and MQIACF_Q_TIME_INDICATOR. Use this to restrict the output from the command by specifying a filter condition.
Well, thats my reading of the manual. But give it a try and let us know....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » PCF Inquire_Q_Status
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.