Hi, While that might work, it is not what the user wants.
The user would like to use DISP=(SHR,DELETE) or in other words, have access to the file, and if the step completes ok, delete the file. If there is no solution that can emulate this behavior, then they will have to add an extra step that deletes the file if the previous step completes ok. Gadi -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Ted MacNEIL Sent: Tuesday, February 24, 2009 11:08 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Deleting UnExpired dataset using JCL >Have you tried : >//DEL EXEC PGM=IKJEFT01 >//SYSTSPRT DD SYSOUT=* >//SYSTSIN DD * > DEL 'V110.TGBA.TESTDEL' PURGE There was an even simpler one with IKJEFT1A, and a PARM="DEL dsn PURGE". It has come down to: "What is 'pure' JCL"? To me, anything that goes through an Internal Reader is "PURE"! - Too busy driving to stop for gas! ---------------------------------------------------------------------- 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