To run PC based commands from AS/400 by executing the command STRPCO followed by STRPCCMD
You can run PC Based commands from AS/400 by executing the command STRPCO followed by STRPCCMD.
STRPCO starts the PC organizer; the Command STRPCCMD accepts the PC command as input parameter and will execute the same from AS/400 command line or program.
In the Sample program, you can have the PMD parameter from STRPCCMD as a variable and execute various PC commands from your program.
STRPCO MONMSG MSGID(CP00000 MCH0000 IWS0000) STRPCCMD PCCMD('C:PROGRA~1INTERN~1IEXPLORE')