We use this as first step. If the file exits, it is deleted. If don't exits, RC=0 in the same way.
//PASOBOR EXEC PGM=IEFBR14 //D1 DD DISP=(MOD,DELETE),UNIT=SYSALLDA, // SPACE=(1,1), // DSN=USTS.U0Z72B6.????.???????? Regards Angel Luis DomÃnguez sysprog - Spain ---------------------------------------------------------------------- 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