MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem in PGM=FTP when file does not exist

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Pranabesh
Beginner


Joined: 22 Sep 2005
Posts: 11
Topics: 5
Location: WI,US

PostPosted: Thu Jan 08, 2009 8:02 am    Post subject: Problem in PGM=FTP when file does not exist Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Jan 08, 2009 1:23 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group