View previous topic :: View next topic |
Author |
Message |
Pranabesh Beginner
Joined: 22 Sep 2005 Posts: 11 Topics: 5 Location: WI,US
|
Posted: Thu Jan 08, 2009 8:02 am Post subject: Problem in PGM=FTP when file does not exist |
|
|
Hello,
Please help me in solving the below mentioned problem:-
I want to FTP a file from UNIX location using a Mainframe JOB (using PGM=FTP). In case file does not exist at the specified location then FTP step in the mainframe job returns MAXCC=166. Is there any way by which I can change this step |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Thu Jan 08, 2009 1:23 pm Post subject: |
|
|
you could invoke FTP from a Rexx program and intercept the return code and return whatever you want as a return code. I doubt that FTP itself can be forced to do what you want but I haven't checked the manuals. _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
 |
|
|