|
On Fri, Jun 1, 2018 at 5:30 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:
I'm looking for options to be able to have an RPG program fire off
these Python 'services', have them work with the web service, and pass
the results back to RPG.
Do you need something "tighter" than dropping off the return values in
a stream file or database table?
Ultimately, I think if you're going to rely on Python (or other
technologies of a similar nature, such as Node.js, Ruby, PHP, etc.)
then you will have to accept that "calling" and "retrieving values"
are two separate steps performed by the caller.
If you really want that immediacy and "single-step" feel of a call
with output parameters or return value, you have to use something
other than Python.
For green-field (not green-screen!) programming, of course just using
Python throughout would be a good option. (And you *can* plumb a *PGM
or *SRVPGM into surrounding Python quite cleanly.)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.