Tsm doesn't allow  wildchars in the volume name of the delete command.
So you can make a script with awk or something else. First generate a
list of the volumes:
  dsmcadmc q vol | grep copypool
or
  dsmadmc select * from volumes WHERESTGPOOL=COPYPOOL
WHEREDEVCLASS=STK9710
and take the list as input for awk to generate the delete commands.

Nicholas Cassimatis schrieb:
> 
> Select the volumes with the GUI, and pick Delete!
> 
> Nick (Don't mess with my GUI)  Cassimatis
> [EMAIL PROTECTED]
> 
> "I'm one cookie away from happy." - Snoopy (Charles Schulz)
> ----- Forwarded by Nicholas Cassimatis/Raleigh/IBM on 02/19/01 01:19 PM
> -----
> 
>                     "Kelly J.
>                     Lipp"                To:     [EMAIL PROTECTED]
>                     <lipp@storsol.       cc:
>                     com>                 Subject:     Re: deleting copypool tapes.
>                     Sent by:
>                     "ADSM: Dist
>                     Stor Manager"
>                     <[EMAIL PROTECTED]
>                     IST.EDU>
> 
>                     02/14/01 02:46
>                     PM
>                     Please respond
>                     to lipp
> 
> One at a time!
> 
> Kelly J. Lipp
> Storage Solutions Specialists, Inc.
> PO Box 51313
> Colorado Springs CO 80949-1313
> (719) 531-5926
> Fax: (240) 539-7175
> Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
> www.storsol.com
> www.storserver.com
> 
> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of
> Shekhar Dhotre
> Sent: Wednesday, February 14, 2001 12:10 PM
> To: [EMAIL PROTECTED]
> Subject: deleting copypool tapes.
> 
> Hi all ,
>    what is the command that will delete all (90)  copypooltapes  in one
> shot
> ..
> I am trying
> 
>  DELETE VOLUME   *   WHERESTGPOOL=COPYPOOL WHEREDEVCLASS=STK9710
> discarddata=yes  with no luck
> 02/14/01   13:34:08  ANR2401E DELETE VOLUME: Volume * is not defined in a
> 
> thanks
> shekhar

-- 
Mit freundlichen Grüßen


Bernhard Unold
begin:vcard
n:Unold;Bernhard
tel;work:+49 7071/29-80130
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Bernhard Unold
end:vcard

Reply via email to