|
From: Don <dr2@cssas400.com> > After I've completed the FTP, I want to kickoff a script on the unix > box... What's the syntax for that? > > Basically, I want to submit a batch task on the unix box after the puts... Don, the only way I know (maybe others know better) is to invoke a shell on the Unix box. The normal FTP command for that is "! [command [args]]". Now how you get the AS/400 to send that command I don't know. The "quote" command as designed to send arbitrary "arguments" to the other side. What the "!" subcommand does is start an interactive session on the server executing the command given. There is really no such thing as a >batch" session in Unix, but you can simulate that by executing a script that ends with "exit".
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.