> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Ted MacNEIL > Sent: Friday, October 20, 2006 1:23 PM > To: [email protected] > Subject: Re: Multiple FTP Problems > > > >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!! >
The file to be deleted is not local. It is remote, on a Windows box. I cannot run IDCAMS or IEFBR14 on a Windows box <grin>. So it must be deleted it via a "del" command in the ftp command stream. And programming staff refuses write the JCL to run this as two separate steps, the one with the "del" being without the (EXIT so that the RC will be 0 even if the "del" fails. I could make more comments, but they would indicate a "bad attitude" of a "poor team player". -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- 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

