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 

Question on file transfer from FTP to Mainframe

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
taurian
Beginner


Joined: 20 May 2004
Posts: 12
Topics: 6

PostPosted: Tue Jun 22, 2004 1:52 pm    Post subject: Question on file transfer from FTP to Mainframe Reply with quote

Hi,

In JCL, when we try to GET a file which is not there on the FTP server, will it return a invalid code, I am specifically looking for type of error, if any!
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Jun 22, 2004 2:09 pm    Post subject: Reply with quote

550 File transfer failed
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Tue Jun 22, 2004 2:19 pm    Post subject: Reply with quote

Code this:
Code:

EXEC PGM=FTP,PARM='/(EXIT=8'

It will give condition code 8 on any error.
Back to top
View user's profile Send private message
taurian
Beginner


Joined: 20 May 2004
Posts: 12
Topics: 6

PostPosted: Tue Jun 22, 2004 2:58 pm    Post subject: Reply with quote

Thanks Bithead
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) 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