John, There are many ways of accomplishing this, assuming that you wish to delete those datasets that are NOT in use.
One possibility: run IKJEFT01 in batch and, for each of the DDs in the IEFBR14 step, issue a DELETE command. Datasets that are ENQueued upon (EXCL or SHR) will not be deleted. Cheers, Alan -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Donnelly, John P Sent: Thursday, November 03, 2011 12:38 PM To: [email protected] Subject: DATA SET RESERVATION UNSUCCESSFUL 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 [email protected] ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] 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 [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

