IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP TIMEOUT parameter


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
farnear
Currently Banned

New User


Joined: 27 Nov 2008
Posts: 20
Location: India

PostPosted: Tue Mar 17, 2009 5:27 pm
Reply with quote

Can anyone tell me the significance of TIMEOUT parameter while executing the PGM=FTP?

Code:
 
//FTP1  EXEC  PGM=FTP,PARM='(TIMEOUT 720'


What is the significance of TIMEOUT in the above?

~farnear~
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Mar 17, 2009 5:42 pm
Reply with quote

TIME used on the jobcard is explained in the JCL reference manual, easily reached from the button labelled "IBM Manuals" at the top of each page.

What does the keyword TIMEOUT suggest to you ?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Mar 17, 2009 5:45 pm
Reply with quote

3.2 FTP command -- Entering the FTP environment.
Back to top
View user's profile Send private message
farnear
Currently Banned

New User


Joined: 27 Nov 2008
Posts: 20
Location: India

PostPosted: Thu Mar 19, 2009 8:14 pm
Reply with quote

Friends,

Thanks for all your replies.I tried PGM=FTP with TIMEOUT parameter.

While doing "GET" operation, if the requested file is missing in the destination server then, I want to make the PGM=FTP to wait certain TIME LIMIT. Is that possible by any parameters?

I have modified the TIME in the following parameters MYOPENTIME, DCONNTIME, CCONNTIME , DATACTTIME & TIMEOUT . But it doesnt help me anyways as the FPT Job failing with FILE NOT FOUND.

Could any one tell me is there any option in IBM PGM=FTP to do the above operation?

Code is mentioned below...


10.108.45.165 (exit timeout 600
H199041
WELCOME4
cd '/user/H199041/sample'
PWD
ascii
get infile.ps1 'infile.ps5' (repl
quit



****************
MYOPENTIME 300
DCONNTIME 380
CCONNTIME 320
INACTTIME 240
DATACTTIME 180
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 19, 2009 8:22 pm
Reply with quote

FTP timeout values have to do with keeping the connection up and active while sending data or waiting after sending data.

I'm not aware of any way to wait for the file to show up via FTP.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 19, 2009 8:47 pm
Reply with quote

Depending on what you're connecting to and how you're connecting, you could try FTP options DATAKEEPALIVE and DSWAITTIME. I haven't used these options so whether they'll work for you is an open question.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top