RE: Basic question on deleting datasets



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
.



Relevant Pages

  • RE: Basic question on deleting datasets
    ... I ran the DFDSS DUMP job sending the output ... to DD DUMMY (after finding out the hard way that DFDSS COPY won't send ... For IBM-MAIN subscribe / signoff / archive access instructions, ... email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO Search ...
    (bit.listserv.ibm-main)
  • Re: Dynamically Disabling ISV Products
    ... John is correct. ... Also, Since you never know how many spaces will exist between the DD and the word Dummy, but I imagine DUMMY in this context will mostly be followed by a space, why not "DUMMYb " where the b is a blank? ... when searching the archives, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Dynamically Disabling ISV Products
    ... I had searched the archives going back to 2004 and didn't find anything. ... It occurs to me that I used DD DUMMY. ... //FCOPYOFF DD DUMMY TURN OFF PDSMAN'S FAST COPY ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Keep only the tail of the dataset
    ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ... Search the archives at http://bama.ua.edu/archives/ibm-main.html ... The wippo merely failed to perceive the need for an RDW option. ... Elavon Financial Services Limited, trading as Elavon, is regulated by the Financial Regulator ...
    (bit.listserv.ibm-main)
  • Re: Keep only the tail of the dataset
    ... 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 ... The wippo merely failed to perceive the need for an RDW option. ...
    (bit.listserv.ibm-main)