MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2012

Re: Call an rpgle from a pc in the network



fixed

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:
http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/rzatv/rzatvrmtcmd.htm
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
procedure.

- FTP is an option
ftp myibmi
quote rcmd call mylib/mypgm
quit

With any of the above you may have to wrapper your program to ensure the
library list and other job environments are set up.



Rob Berendt





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact