Wow that was a lot simpler than the direction I was going.

Thank you both,
Andy Schultz


On Thu, 23 Oct 2003 17:53:35 +0200 (CEST), Beat Rubischon <[EMAIL PROTECTED]> wrote:


Hello!

Am 23.10.03 schrieb Andy Schultz:

Is their another or better way to run an As/400 command from a Linux box?

- ftp to the box and run a remote command:


Create a .netrc as described in the ftp-manpage.

ftp as400 << EOF
quote rcmd call program
quit
EOF

- rexec to the box and run a remote command:

rexec -l LOGIN -p Password as400 "call program"

Sincerly Beat Rubischon




-- Andy Schultz http://www.grgeek.com _______________________________________________ This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: [EMAIL PROTECTED] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: [EMAIL PROTECTED] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.



Reply via email to