Q: Can you recommend a product on the AS/400 that will accept remote commands? I use the "remsh" (remote shell) command from our RS/6000 to execute processing on other UNIX platforms. We also have an RS/6000 communicating with our AS/400 using TCP/IP. I would like to execute CL commands on the AS/400 from the RS/6000.
- Neal Hamel
A: You can execute AS/400 commands from a remote system by using FTP. After you FTP to your AS/400, use the QUOTE subcommand with the RCMD parameter followed by the command you want to execute. For example, if you want to run the Work with Active Jobs (WRKACTJOB) command, you would enter this from within an FTPsession:
QUOTE RCMD WRKACTJOB OUTPUT(*PRINT)
- Robin Klima