Condition code checking for FTP

2007-01-25 Thread Lucy Arnold
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 -

Re: Condition code checking for FTP

2007-01-25 Thread Greg Grimm
A.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

Re: Condition code checking for FTP

2007-01-25 Thread Lucy Arnold
How many files? More than one?? 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-m

Re: Condition code checking for FTP

2007-01-25 Thread Lucy Arnold
**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)*** Greg - do you have an example??? Lucy -

Re: Condition code checking for FTP

2007-01-25 Thread Thompson, Steve (SCI TW)
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lucy Arnold Sent: Thursday, January 25, 2007 5:25 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Condition code checking for FTP Hello, I have a series of "GET" commands in a batch FTP job and w

Re: Condition code checking for FTP

2007-01-25 Thread Paul Gilmartin
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) > Wh

Re: Condition code checking for FTP

2007-01-25 Thread Greg Grimm
M-MAIN@BAMA.UA.EDU cc: (bcc: Gregory Grimm/DPC/SCC) Subject:Re: Condition code checking for FTP How many files? More than one?? Lucy -- For IBM-MAIN subscribe / signoff / archive access instructions, sen

Re: Condition code checking for FTP

2007-01-25 Thread Paul Gilmartin
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 Autho

Re: Condition code checking for FTP

2007-01-26 Thread Chris Mason
lls out for a looped structure - but I won't spoil Lucy's fun by trying to work that out for her! Chris Mason - Original Message - From: "Paul Gilmartin" <[EMAIL PROTECTED]> Newsgroups: bit.listserv.ibm-main To: Sent: Friday, 26 January, 2007 3:28 AM Subject: Re: