RE: Basic question on deleting datasets
- From: ronhawkins@xxxxxxxxxxxx (Ron and Jenny Hawkins)
- Date: 31 Jan 2006 09:36:22 -0800
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:IBM-MAIN@xxxxxxxxxxxx
> Behalf Of Paul Gilmartin
> Sent: Wednesday, 1 February 2006 12:48 AM
> To: IBM-MAIN@xxxxxxxxxxx
> 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 listserv@xxxxxxxxxxx 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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.
- References:
- Re: Basic question on deleting datasets
- From: gilmap
- Re: Basic question on deleting datasets
- Prev by Date: RE: Basic question on deleting datasets
- Next by Date: RE: Sprint backs out of IBM outsourcing deal
- Previous by thread: Re: Basic question on deleting datasets
- Next by thread: RE: Basic question on deleting datasets
- Index(es):
Relevant Pages
|
|