Hello All, We are having an issue with a job using VSAM. As shown below the VSAM dataset below gets a zero return code from the delete command. However in the next command the user is trying to alter (rename) another VSAM dataset to the name of the previously deleted dataset and it doens't work. In fact the deleted dataset still is on a DASD volume but is uncataloged. Any one have an idea what's going on here? Thanks.
DELETE DEVE.ZSSV.ZOD000 PURGE CLUSTER IDC0550I ENTRY (A) DEVE.ZSSV.ZOP000 DELETED IDC0550I ENTRY (A) DEVE.ZSSV.ZOX000 DELETED IDC0550I ENTRY (A) DEVE.ZSSV.ZOQ000 DELETED IDC0550I ENTRY (A) DEVE.ZSSV.ZOY000 DELETED IDC0550I ENTRY (A) DEVE.ZSSV.ZOD000 DELETED IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0 IF LASTCC < 12 - THEN ALTER DEVE.ZSSV.TMP - NEWNAME(DEVE.ZSSV.ZOD000) IDC3026I DUPLICATE DATA SPACE NAME ON VOLUME IDC3009I ** VSAM CATALOG RETURN CODE IS 172 - REASON CODE IS IGG0CLEC-4 IDC0532I **ENTRY DEVE.ZSSV.TMP NOT ALTERED IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- 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

