In a recent note, Greg Grimm said:

> Date:         Thu, 25 Jan 2007 15:34:14 -0800
> 
> I have three steps in my FTP JCL:
> The first ftp's to the site and issues a "DIR" command
> The second parses the directory to check if the file exists
> The third gets the file (if it's found in step 2)
> 
Why not just do the third step (and check the return code if desired)?

> Lucy Arnold <[EMAIL PROTECTED]>
> Sent by: IBM Mainframe Discussion List <[email protected]>
> 01/25/2007 03:25 PM
> 
> I have a series of "GET" commands in a batch FTP job and when one of the
> PC
> files does not exist, then the whole job fails.  Is there a way to do like
> condition code testing and have the job keep going???
> 
How many GET commands?  If few enough, use separate steps.

-- 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

Reply via email to