Another way to do it is to set up an IDCAMS job to delete all of the datasets. I don't think you will get dataset reservation failed errors. If for whatever reason 1 or 2 datasets don't get deleted, you will get a non zero return code instead of a JCL error.
-- Eric Bielefeld Systems Programmer ---- "Donnelly wrote: > We have a job that executes PGM=IEFBR14 with 40 DD cards specifying > DISP=(OLD,DELETE,DELETE). > From time to time we will get a JCL error because dataset reservation failed. > Any other way we might accomplish the same event? > > John Donnelly > Texas Instruments SVA > 2900 Semiconductor Drive > Santa Clara, CA 95051 > 408-721-5640 > 408-470-8364 Cell > john.p.donne...@ti.com > > > > > ---------------------------------------------------------------------- > 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