Learn how iSeries document scanning, capture, distribution and workflow can save money, increase document security, and improve organization efficiency. Learn more at www.informdecisions.com
Popular keywords: as/400 forms - as400 forms - iseries forms - iseries reports - AS/400 reports - AS400 reports

If you are seeking the way to activate a PC program from the AS/400, you reach in the right place. This tutorial will help you know how to activate a PC program from the AS/400.



In fact, we can activate a PC program from the AS/400 by implementing a command called RUNRMTCMD. RUNRMTCMD lets the AS/400 to send command strings to any host running the rexec daemon. On Windows NT, RUNRMTCMD can start the incoming command service to receive incoming commands, for instance. 

Look at this example.

RUNRMTCMD CMD('c:test.bat') RMTLOCNAME(remotepcname *IP) RMTUSER('mypcuser') RMTPWD('myuserpwd')

The batch file test.bat on system remotepcname will be run by this. 

Remember that the user and passwords are sometimes case-sensitive and dny feedback from the PC program will be written to an AS/400 spool file.

Design by Ly Dinh Themes - Cân điện tử | Blogger Theme by iSeries IBM i