Gil, DFSMSdss is a bit smarter than that. This JCL deleted two datasets using over 24000 tracks in less than a second.
//HAWKINS0 JOB (ACCT#),'STGADM1',CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1), // NOTIFY=&SYSUID //* //COPYVOL EXEC PGM=ADRDSSU,REGION=6M //TAPE1 DD DUMMY //SYSPRINT DD SYSOUT=* //SYSIN DD * DUMP - DATASET(INCLUDE(HAWKINS.NOR1PDB.**))- OUTDDNAME(TAPE1) - SPHERE - DELETE PURGE /* Ron > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On > Behalf Of Paul Gilmartin > Sent: Wednesday, 1 February 2006 12:48 AM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: Basic question on deleting datasets > > In a recent note, Ron and Jenny Hawkins said: > > > Date: Wed, 1 Feb 2006 00:29:20 +0800 > > > > The old way to kill a bunch of files through a mask was to use DFDSS to > back > > up and delete the files, with the output assigned to DUMMY. > > > Yow! Wasn't that rather I/O intensive? (I ask even though I often > aver "Silicon is cheaper than carbon.") Or did DFDSS recognize > and optimize the output=DUMMY case? > > -- gil > -- > StorageTek > INFORMATION made POWERFUL > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html