On Thu, 25 Jan 2007 16:10:25 -0800, Greg Grimm wrote: > > I 'get' two files. > The first step is IKJEFT01 - it runs the following REXX > ... Heck, if you're writing an EXEC, do it all in one step, with an invocation of FTP to GET each file and omit the DIR. This avoids numerous problems:
o Authorization: DIR shows the file exists, but GET fails because you haven't sufficient permission on the server system to read it. o Timing: the DIR step reports the file exists, but another process deletes it before the GET, which fails. o Syntactic: The format of the reply from DIR on the remote system is different from what you expect. o Structural: the files to be fetched exist in different directories, and a single call to DIR doesn't show them all. ... and it's less code. -- gil -- StorageTek INFORMATION made POWERFUL ---------------------------------------------------------------------- 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

