|
You need to read the file generated (the one overridden to from OUTPUT). Now be warned that this is a bit tricky as you need to interpret what you see there. You will see codes like 250 and 550 with text behind them and in many cases you must read the text as well. You must also be prepared for the transferred byte count to be 250 or 550 or any other number that matches a message number. I have some RPG code that does at least some of this and I'm sure others do as well. If you don't want to trust yourself to correctly interpret these messages there are tools available (such as ZMOD FTP Client) that do the FTP and report back to you with Escape and Info messages that are much more easily correctly interpreted. HTH - Larry Curtisda@aol.com wrote: > > I am batch FTP ing a file from the AS/400 to a Server then to a PC > > Is there a way to auto verify that this transfer takes place correctly ... > with completion codes or something? I want to set something up that > alerts a user that there was a problem.... -- Larry Bolhuis | What if it's True? Arbor Solutions, Inc | (616) 451-2500 | (616) 451-2571 -fax | lbolhui@ibm.net | +--- | 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 +---
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.