× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Chuck - FYI

Increasing the timeout value did not prevent the FTP connection timing out while the RMVLNK command was running (approx. 75 minutes):

Enter an FTP subcommand.                                                  
quote rcmd LODIMGCLG IMGCLG(VIRTUALTAP) OPTION(*UNLOAD) DEV(TAPVRT01)   
250 Command LODIMGCLG IMGCLG(VIRTUALTAP) OPTION(*UNLOAD) DEV(TAPVRT01)    
 successful.                                                              
Enter an FTP subcommand.                                                  
quote time 7200 7000                                                    
250-File transfer time-out value set to 7000 seconds.                     
250 Inactivity time-out set to 7200 seconds.                              
Enter an FTP subcommand.                                                  
quote rcmd rmvlnk '/asp02/virtualtape/VOL001'                           
No response from remote host; all connections closed.                     
 
Neil Palmer, Waterloo, Ontario, Canada


(This account not monitored for personal mail,
remove the last two letters before @ for that)


________________________________
From: Neil Palmer <neilpalmer400mr@xxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Tuesday, October 1, 2013 6:13:08 PM
Subject: Re: SAVSYS to IMGCLG then to DVD on PC



Thanks Chuck.  In this case I'd need about 75 minutes for the rmvlnk to complete.
 
Neil Palmer, Waterloo, Ontario, Canada

(This account not monitored for personal mail,
remove the last two letters before @ for that)


________________________________
From: CRPence <CRPbottle@xxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Sent: Monday, September 9, 2013 11:39:19 AM
Subject: Re: SAVSYS to IMGCLG then to DVD on PC


On 07 Sep 2013 17:09, Neil Palmer wrote:
<<SNIP>>
  quote rcmd LODIMGCLG IMGCLG(VIRTUALTAP) OPTION(*UNLOAD) DEV(TAPVRT01)
  quote rcmd rmvlnk '/asp02/virtualtape/VOL001'
(NOTE: this will take a fair amount of time, long enough for the FTP
command connection to timeout and disconnect because it doesn't send
periodic status update messages like a PUT command does to keep it
alive, so don't have any more FTP batch commands after the rmvlnk)

<<SNIP>>
  quote rcmd LODIMGCLGE VIRTUALTAP *VOL *UNLOAD VOL(NITEV1) DEV(TAPVRT01)
  quote rcmd LODIMGCLG IMGCLG(VIRTUALTAP) OPTION(*UNLOAD) DEV(TAPVRT01)
  put /virtualtape/VOL001 /asp02/virtualtape/VOL001
  noop <<< PUT
sends status update msgs
  noop    which keeps FTP command connection alive  >>>
<<SNIP>>


  FWiW: The implication about why the connection remains active is
deceptive.  Refer to the server support for subcommand TIME, to learn
how to adjust the amount of time to allow for work on the server to
complete before a connection is terminated.  Note the second parameter
which defines the time allowed for a file-transfer, which is a limit
irrespective of the transfer status messaging.  With the IBM i as the
FTP server, issue the following request to get the help text describing
the feature; for convenience, the reply as presented on an older system,
follows that request:

    quote help time

    214-TIME <inactivity> <transfer>: Sets server time-out values for
this FTP session.
 
  214-  <inactivity> is the inactivity time-out in seconds.
    214-  <transfer> (optional) is the file transfer time-out in seconds.
    214-Example:  TIME 900.
    214 More information is available in the TCP/IP Configuration and
Reference, SC41-5420


  So... Early in the FTP script, the following request would ask the
server to allow for ten minutes of work [e.g. as effected by quote rcmd
<cmd-string>] at the server, to complete without timing-out:

    quote time 600


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.