>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.
And, if you want, you can make the RC 0. Just code: IF MAXCC < 9 THEN SET MAXCC = 0 I always want delete steps to complete successfully. Deleting a nonexistent dsn is not an error. - Ted MacNEIL [email protected] Twitter: @TedMacNEIL ---------------------------------------------------------------------- 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

