I may be late and missed some of the dialog on this but Has this been mentioned.
//S005 EXEC PGM=IEFBR14 //DD1 DD DSN=name.xxx,DISP=(MOD,DELETE), // UNIT=SYSDA,SPACE=(TRK,(0)) // -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Paul Gilmartin Sent: Tuesday, February 24, 2009 10:20 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Deleting UnExpired dataset using JCL On Tue, 24 Feb 2009 14:23:16 +0200, ××× ×× ××× wrote: >I know about IDCAMS, but the user wants a pure JCL solution. > >Gadi > What's "pure" JCL? In my experience, JCL for any valid job must contain at least one "//label EXEC PGM=whatever" statement. That "whatever" might as well be IDCAMS. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html