Jeff

At 09:43 AM 5/21/1998 -0500, you wrote:
>This isn't _exactly_ an AS/400 question, but close enough. <g>
>
>I have a DOS machine connected to the AS/400 via TCP/IP.  The PC
>randomly FTPs files to and from the AS/400.  On Wednesday nights we
>IPL.  During that IPL, that PC may try an FTP, starting with the
>command:
>
>       open as400.dilgard.com
>
>Is there a way to test and see if that command fails?  And therefore
>delay the FTPing from the PC?

Similar to Carl's recommendation with redirection of ping's output, you
should be able to redirect ftp's output, too. But you need something that
can read the output file, which is not easy in .bat files. There is no
testing inside ftp scripts themselves, only session-at-a-time output.

HTH

Vernon Hamberg
Systems Software Programmer
Old Republic National Title Insurance Company
400 Second Avenue South
Minneapolis, MN  55401-2499
(612) 371-1111 x480


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].