Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP TIMEOUT parameter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: FTP TIMEOUT parameter
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: 8593
Location: Back in jolly old England

PostPosted: Tue Mar 17, 2009 5:42 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Mar 17, 2009 5:45 pm    Post subject: Reply to: FTP TIMEOUT parameter
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    Post subject: Reply to: FTP TIMEOUT parameter
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: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 19, 2009 8:22 pm    Post subject:
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: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 19, 2009 8:47 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Paasing symbolic parameter to instrea... Anirudh Anand JCL & VSAM 0 Thu Jul 27, 2017 1:22 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us