Wanda, That is exactly what I need to do. I use the command line as much as I can, as well as the automation, but the scripts, that is pretty cool. Thanks so much for your help. I am sorry if I wasted your time asking a silly question.
Aaron >>> [EMAIL PROTECTED] 11/1/2005 8:11:26 AM >>> On the other hand: While the DELETE VOL command (and others) allows you to specify only one volume at a time, don't hesitate to use TSM's utterly cool automation capabilities! If you can construct a SELECT command to pull your volume list, for example: select volume_name from volumes where volume_name like '62%ANWL2' then you can also have TSM create all the commands for you, for example: select 'delete vol' ,volume_name, 'DISCARD=y wait=yes' from volumes where volume_name like '62%ANWL2' Take the resulting list of commands, define it as a tsm script called DELETEM, then just enter "run deletem". It will not only do the work for you, the WAIT=YES it will serialize them ! (As Andy famously says, "the command line is your friend!") Wanda Prather "I/O, I/O, It's all about I/O" -(me) -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Mark D. Rodriguez Sent: Tuesday, November 01, 2005 12:54 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: Can I do this? Aaron, To expand on Andrew's answer a little. The documentation clearly only allows you to specify on volume per command, but you could run multiple commands. However, I should caution you when doing so. If the volumes to be deleted contain a large number of files this will be a very DB intensive process since each file is an object in the data base that will have to be updated. You will actually get better performance if you limit it to 1 or 2 at a time. -- Regards, Mark D. Rodriguez President MDR Consulting, Inc. ======================================================================== ======= MDR Consulting The very best in Technical Training and Consulting. IBM Advanced Business Partner SAIR Linux and GNU Authorized Center for Education IBM Certified Advanced Technical Expert, CATE AIX Support and Performance Tuning, RS6000 SP, TSM/ADSM and Linux Red Hat Certified Engineer, RHCE ======================================================================== ======= Andrew Raibeck wrote: >Hello Aaron, > >The product documentation should easily answer this question for you. The >command reference is, literally, at your fingtertips: > >In general: > > help <command> > >In your case: > > help delete volume > >Regards, > >Andy > >Andy Raibeck >IBM Software Group >Tivoli Storage Manager Client Development >Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] >Internet e-mail: [EMAIL PROTECTED] > >IBM Tivoli Storage Manager support web page: >http://www-306.ibm.com/software/sysmgmt/products/support/IBMTivoliStora geManager.html > >The only dumb question is the one that goes unasked. >The command line is your friend. >"Good enough" is the enemy of excellence. > >"ADSM: Dist Stor Manager" <ADSM-L@VM.MARIST.EDU> wrote on 2005-10-31 >19:44:53: > > > >>Can I delete multiple volumes at one time by issuing the command 'delete >>volume 623ANWL2,624ANWL2,625ANWL2 discard=y' , or do I have to do them >>separate? >> >>Thanks! >> >>Aaron >> >> > > >