Do you mean, how do I run it on a PC? I assume it's a DOS/Windows executable of some sort. If so, you can use RUNRMTCMD to run a command on the PC to execute it, specifying a path to its location thru a mapped network drive. Let's say the exe is WinPgm.exe, is in IFS folder /MyPgms, the iSeries has a file share named My400Pgms that points to MyPgms, and the PC has drive H: mapped to the My400Pgms share. Then you'd just do something like RUNRMTCMD CMD('H:WinPgm.exe') RMTLOCNAME('xxx.xxx.xxx.xxx' *IP) RMTUSER('PCprofile') RMTPWD('PCpassword') CCSID(437) where xxx.xxx.xxx.xxx is the PC's IP address. I suppose it could also be run on an attached Windows 2000 server, the IXFS or whatever they're calling it these days.

Reply With Quote