> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Howard Brazee > Sent: Wednesday, May 21, 2008 1:02 PM > To: [email protected] > Subject: FTP delete > > I have the following commands in my FTP: > > cd /ftp/SISR/RECREG > delete person > put 'UMSDEV.CONV.QA04.NPRSMED' person > > If "person" does not exist, the FTP aborts, but the new file is out > there anyway. > > I'm running IKJEFT01 from within a standard proc. > > Is there a cleaner way to replace the file?
Don't bother with the "delete". The "put" will replace it if it exists or create it if it does not already exist. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- 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

