>If "output.file" does not exist, then the "del" command will give a message >which causes the ftp step to get a non-zero return code
I CANNOT believe you haven't figured a work around for this. Here's a simple one: STEP 1: delete the file with IDCAMS or IEFBR14 STEP 2: FTP with (EXIT STEP 3: rename When in doubt. PANIC!! ---------------------------------------------------------------------- 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