|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
java program to clear all queues under a given q mgr |
« View previous topic :: View next topic » |
Author |
Message
|
adivyayadav |
Posted: Wed Mar 09, 2011 2:51 am Post subject: java program to clear all queues under a given q mgr |
|
|
 Novice
Joined: 09 Mar 2011 Posts: 10
|
Hi Guys,
I am trying to make a java program that runs to clear all the queues, which have a message under a given Q mgr.
Can anybody tell is there a way to determine the list of queue which have atleast one message?????
Last edited by adivyayadav on Wed Mar 09, 2011 2:56 am; edited 1 time in total |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 09, 2011 2:53 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Everything you can do with MQSC you can do with PCF.
You will need to be more selective than just "every queue with more than one message" though. |
|
Back to top |
|
 |
adivyayadav |
Posted: Thu Mar 10, 2011 3:07 am Post subject: |
|
|
 Novice
Joined: 09 Mar 2011 Posts: 10
|
Alrite,
But I am looking a way to list all the queue under a Qmgr. and I am not able to find any .I am looking for exact function?? |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 10, 2011 3:35 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You can do this with PCF messages. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Mar 10, 2011 4:33 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
dont clear system queues ! _________________ Regards, Butcher |
|
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
|
|
|
|