|
"Klein, Ron" wrote: > > Hi All, > > We have been using FTP QUOTE RCMD to run programs on the AS/400 from the PC. > Our FTP script consists of several steps ... > > QUOTE RCMD ADDLIBLE > QUOTE RCMD CHGDTAARA > QUOTE RCMD AA317D > GET datafile > > AA317D runs a COBOL program that prepares the datafile. Under Windows > 95/98/NT this worked very well. But under Windows 2000, we receive > CONNECTION CLOSED BY REMOTE HOST if the remote command AA317D runs longer > than 60 seconds. Irrespective of where the 'problem' is (AS/400 or Win2K), here are a couple of suggestions. These may or may not be feasable, these are application design suggestions. 1) After the "QUOTE RCMD AA317D", end the FTP session. Every X seconds restart FTP and try to GET the datafile. When successful, you're done. 2) After the "QUOTE RCMD AA317D", end the FTP session. When the datafile is ready, have the AS/400 initiate an FTP session and PUT the file to the PC (requires FTP server on PC). -- -Jeff The opinions expressed are my own and not necessarily the opinion of my company. Unless I say so.
As an Amazon Associate we earn from qualifying purchases.
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.