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 

ftp dropped connection issue

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
ptf
Beginner


Joined: 03 Jun 2004
Posts: 10
Topics: 5

PostPosted: Thu Jun 03, 2004 11:35 am    Post subject: ftp dropped connection issue Reply with quote

In my jcl, I am ftp'ing a file using IBM FTP V2R10 and my connection sometimes gets dropped? Is their a way to be able to retry x number of times before abending?
Back to top
View user's profile Send private message
manojagrawal
Beginner


Joined: 25 Feb 2003
Posts: 124
Topics: 29

PostPosted: Thu Jun 03, 2004 1:02 pm    Post subject: Reply with quote

Hello ptf,

I'm not sure how you can retry x number of times, but you can specify RETRY = YES

See this link if it helps -
http://publibfi.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dvgr0000/3.3?SHELF=&DT=19940429000100&CASE=
_________________
Thanks & Regards,
Manoj.
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Thu Jun 03, 2004 4:17 pm    Post subject: Reply with quote

ptf, I have been searching through the TCP/IP User's Guide and I cannot find a RETRY command for the FTP process. There is a RESTART command to use for a failed transmission if you are using checkpoint-restarts, but at this point I will presume that you are not.

A well-designed FTP application would take into account such a failure, as it is an inevitable occurence when dealing with FTP and TCP/IP networks. The application would check for a valid return-code from the FTP process and would, if necessary, either re-start the FTP process again or re-submit the entire FTP application again. It would probably want to keep track of the number of occurences of failures and terminate the application when a pre-determined threshold has been reached. It would probably also execute a directory listing command after the file transfer and read the directory contents and verify that the file has been successfully stored on the remote server. Or, the remote server would generate some sort of transfer confirmation that the FTP application could retrieve and compare against what was originally transmitted.
Back to top
View user's profile Send private message
ptf
Beginner


Joined: 03 Jun 2004
Posts: 10
Topics: 5

PostPosted: Fri Jun 04, 2004 11:06 am    Post subject: Reply with quote

superk wrote:
ptf, I have been searching through the TCP/IP User's Guide and I cannot find a RETRY command for the FTP process. There is a RESTART command to use for a failed transmission if you are using checkpoint-restarts, but at this point I will presume that you are not.

A well-designed FTP application would take into account such a failure, as it is an inevitable occurence when dealing with FTP and TCP/IP networks. The application would check for a valid return-code from the FTP process and would, if necessary, either re-start the FTP process again or re-submit the entire FTP application again. It would probably want to keep track of the number of occurences of failures and terminate the application when a pre-determined threshold has been reached. It would probably also execute a directory listing command after the file transfer and read the directory contents and verify that the file has been successfully stored on the remote server. Or, the remote server would generate some sort of transfer confirmation that the FTP application could retrieve and compare against what was originally transmitted.

How can I systematically restart the ftp step in my jcl if the ftp step fails?
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 -> Other Technical Topics 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