|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Delete queues in os/390? |
« View previous topic :: View next topic » |
Author |
Message
|
RatherBeGolfing |
Posted: Thu Jun 12, 2003 1:09 pm Post subject: Delete queues in os/390? |
|
|
 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 |
|
 |
bob_buxton |
Posted: Fri Jun 13, 2003 1:34 am Post subject: |
|
|
 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 |
|
 |
RatherBeGolfing |
Posted: Fri Jun 13, 2003 5:21 am Post subject: |
|
|
 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 |
|
 |
oz1ccg |
Posted: Sat Jun 14, 2003 4:15 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|