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)




NOTICE: This email message and/or its attachments may contain information 
that is confidential or restricted. It is intended only for individuals 
named as recipients in the message. If you are NOT an authorized 
recipient, you are prohibited from using, delivering, distributing, 
printing, copying, or disclosing the message or content to others and must 
delete the message from your computer. If you have received this message 
in error, please notify the sender by return email.




Lucy Arnold <[EMAIL PROTECTED]>
Sent by: IBM Mainframe Discussion List <IBM-MAIN@BAMA.UA.EDU>
01/25/2007 03:25 PM
Please respond to IBM Mainframe Discussion List
 
        To:     IBM-MAIN@BAMA.UA.EDU
        cc:     (bcc: Gregory Grimm/DPC/SCC)
        Subject:        Condition code checking for FTP


Hello,

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


Thanks in advance!


Lucy

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

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