View previous topic :: View next topic
|
Author |
Message |
farnear Currently Banned New User
Joined: 27 Nov 2008 Posts: 20 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
farnear Currently Banned New User
Joined: 27 Nov 2008 Posts: 20 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|