Yep, breaking things up into several FTP scripts has been the most reliable method for me. This allows me to submit a bunch of jobs on the AS/400, and then disconnect my laptop and head home. Or for the times where I have to order PTFs after hours, I can connect into my work network using VPN, submit the jobs, and then disconnect. And by sending the FTP OUTPUT to a text member, I can see which, if any, failed, and then just re-run those.

By doing the FTP on the 400 right into the IFS, Yes, you still have to do the ADDIMGCLGE TOFILE(*FROMFILE), but that step runs pretty quick. I like to think of it as a half-step, compared with some of the other methods mentioned, i.e. using Download Director to FTP to your PC from IBM and then re-FTP from your PC to the AS/400, etc.

I suppose I could get real slick and write some code to check the FTP OUTPUT and then run the ADDIMGCLGE to make the whole thing automagic, but my goal is just get the files downloaded, cuz that is the part that takes the longest.

Brian Dolinar.
"Paul Nelson" <nelsonp@xxxxxxxxxxxxx> wrote in message news:mailman.9892.1221074711.2545.midrange-l@xxxxxxxxxxxxxxx
IBM's connection is flaky that way. Try doing a script per file. That's the
only way I've been able to make it work properly

Paul Nelson
Office 512-392-2577
Cell 708-670-6978

This thread ...

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

This mailing list archive is Copyright 1997-2020 by 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].