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
>       open
>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.


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
| To subscribe to this list send email to
| To unsubscribe from this list send email to
| Questions should be directed to the list owner/operator:

This thread ...


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

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