On Wed, 24 Feb 2010 07:15:23 -0600, McKown, John wrote: >Good point on the rename. I have a fuzzy recollection of a problem when the >server is Windows. In UNIX, a RENAME will delete the new name if it already >exists. IIRC, Windows gives a "name in use" error. But I could be >misremembering. > >Oh, and if you just decide to delete before renaming, then the delete will >give a message if the file does not exist. And that causes the z/OS ftp step >to get a non-zero return code. Which makes our production scheduling system >regard it as having failed. Which causes a discussion during the production >abend meeting in the morning. Which ... (you get the idea). > PUT junk target-name DELETE target-name RENAME temp-name target-name
Sigh. But this leaves a window during which client C might observe target-name not to exist. UNIX rules! -- gil ---------------------------------------------------------------------- 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