× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Sat, Jun 2, 2018 at 2:53 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:
Here's one use case:
What we
want to do is add an indication [on a green screen]
whether there are specific documents
in the vendor's document system for this specific customer.
Notionally, it would happen in the RPG code at the same place the
CHAINs happen to get the DB2 information.

The thing is, if you are introducing a network fetch, you are
intrinsically and unavoidably introducing more latency (i.e. lag). The
difference between

(1) call a program, wait for it to return output parameters

and

(2) call a program, wait until the data we want is in the database,
grab the data from the database

is irrelevant to the end user. How would they be able to tell the
difference even if they wanted to?

If I wrote an RPG program, and it invoked Python and retrieved the
resulting data from the database and populated output parameters from
that data; and you called my RPG program from your RPG program, then
as far as your program is concerned, you just called an RPG program
and received output parameters. If that's acceptable, then there's
your solution. You can write my RPG program at least as well as I can.
If that's not acceptable, then you're back to researching RPG and Java
solutions. (This isn't horrible. It's just not as ridiculously easy as
using Requests.)

I've heard of this green field. It's where the unicorns play fetch
with Elvis, right?
:-)

No, Elvis can only fetch a few times before he tires out, so the
unicorns got bored of that long ago. I think they do shuffleboard now.
;)

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.