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 queues in os/390?

Post new topic  Reply to topic
 Delete queues in os/390? « View previous topic :: View next topic » 
Author Message
RatherBeGolfing
PostPosted: Thu Jun 12, 2003 1:09 pm    Post subject: Delete queues in os/390? Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

I have several hundred queues that I need to delete in several z/os queue managers. We're running V2.1. I know I can do it queue by queue in the CSQOREXX clist, but that seems tedious. I thought maybe I could use CSQUTIL, but there is no DELETE argument.

Has anyone else had a need to do this? If so, what did you do?

Thanks in advance for any advice,
Larry
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Fri Jun 13, 2003 1:34 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

You can enter MQ commands through CSQUTIL, for example.
Code:

//DELQUE   JOB (NONE),'BUXTON',MSGCLASS=H,NOTIFY=&SYSUID
//UTIL     EXEC PGM=CSQUTIL,PARM='MQ39'                 
//SYSPRINT DD SYSOUT=H                                   
//STEPLIB  DD DSN=MQB1.V000.CUR.OUT.SCSQANLE,DISP=SHR   
//         DD DSN=MQB1.V000.CUR.OUT.SCSQAUTH,DISP=SHR   
//SYSIN    DD *                                         
COMMAND DDNAME(CMD) TGTQMGR(MQ39)                       
//CMD      DD *                                         
*************************                               
* DELETE SHARED QUEUES                                   
*************************                               
DELETE QLOCAL(BUXTON.SQ1.TEST01) QSGDISP(SHARED) PURGE   
DELETE QLOCAL(BUXTON.SQ1.TEST02) QSGDISP(SHARED) PURGE   
DELETE QLOCAL(BUXTON.SQ1.TEST03) QSGDISP(SHARED) PURGE   
DELETE QLOCAL(BUXTON.SQ1.TEST04) QSGDISP(SHARED) PURGE 
/*

_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
RatherBeGolfing
PostPosted: Fri Jun 13, 2003 5:21 am    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

Thanks Bob, that worked like a charm.
I only wish I could use wildcards in the queue name parameter

DELETE QALIAS(MY.QUEUE*) is not supported...

Larry
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Sat Jun 14, 2003 4:15 pm    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

You could create a small REXX using support pack MA18/MA19 to do the job, (list the queues, obtain the queue type and issue the delete queue-type).

This could be used to generate input to the CSQUTIL batch job.

Just my $0.02
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Delete queues in os/390?
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.