On Tue, 28 Jul 2009 10:12:00 -0600, Howard Brazee wrote: > >It's a batch job run from JCL, using production procs. > The FTP command should supply the "(EXIT" (IIRC) option to cause the client to exit on a "CD" error before creating the file in the wrong directory.
(Whatever is necessary to change a "production proc".) >>How about trying something like: >> >>cd /ps/cs90ftp/convesion_files/CC/extract >>dir > >That's a better way to test, without creating the file in the wrong >place. Good idea. > Or you could "PUT" via a fully-qualified pathname to avoid creating the errant file. (But would this run afoul of an absurd IBM limitation on command line length?) >>In desperation, do you really needs the damn blanks? > >It's a political thing. I can argue with users to who are already >using directories with blanks, or find a way to accommodate them. They >have several directories so defined. > >I suppose we could have Unix scripts moving the files after I get them >to a drop off directory, if we have a trigger paid for on the >destination machine. > Or create symbolic links with more agreeable names identifying the problem directories. -- gil ---------------------------------------------------------------------- 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

