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 » Delete all queues

Post new topic  Reply to topic
 Delete all queues « View previous topic :: View next topic » 
Author Message
rmah
PostPosted: Tue Aug 07, 2007 1:17 pm    Post subject: Delete all queues Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

Just curious, is there a quick way to delete all or a number of queues from a qm using wildcards? I find it tedious to delete each queue one by one.

Thanks all!
_________________
MQ 6.0.2.3
Broker 6.0.0.7
for Linux


Last edited by rmah on Tue Aug 07, 2007 1:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 07, 2007 1:18 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

how about deleting and recreating the qmgr ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rmah
PostPosted: Tue Aug 07, 2007 1:19 pm    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

fjb_saper wrote:
how about deleting and recreating the qmgr ?


that would work, but it would not be good if I wanted to keep a number of queues, but wanted to wipe out a numbe of others...
_________________
MQ 6.0.2.3
Broker 6.0.0.7
for Linux
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 07, 2007 4:07 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

MQSC/PCF don't support wildcards for the queue name for delete qlocal.

Any solution that offers such a thing, therefore, would have to generate a list of matching queue names, and then issue individual deletes.

I'm really quite fine with MQ not supporting the equivalent of "del *.*".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jeevan
PostPosted: Tue Aug 07, 2007 6:49 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

One way is, generate script file using saveqmgr, delete unwanted def and run the remaining script against the qmgr( it requires deleting and recreating qmgr anyway).
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Aug 07, 2007 9:24 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

MO71 is able to delete a marked range of objects.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
jeevan
PostPosted: Wed Aug 08, 2007 11:37 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

How about WMQTool from niratool.com? You can give a try.

thanks
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 » General IBM MQ Support » Delete all queues
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.