Some good ideas from others just restated or clarified:
- A PC can run RMTCMD. IBM obfuscated the hell out of the Windows
documentation. The Linux documentation is at least useful. In fact, you
can get to it from straight from Infocenter:
The parameters are 'pretty much' the same.
I've got too much to do to continue trying to find the windows version.
- A stored procedure is an option, IF, the PC application calling it is a
database application like MS SQL server or numerous others. There is
documentation out there how to wrap your RPG program as a stored
- FTP is an option
quote rcmd call mylib/mypgm
With any of the above you may have to wrapper your program to ensure the
library list and other job environments are set up.