On Thu, Sep 27, 2018 at 12:30 PM T. Adair <tadair@xxxxxxxxxxxxxxxx> wrote:

I need to replace the SQL logic with good old-fashioned:
CHAIN (locking the record)
Increment number
UPDATE

This is perhaps the single most compelling argument for keeping RLA
around. Hard to beat the elegance and simplicity of this
record-locking mechanism.

And incidentally, it's one reason why iSeriesPython is such a special
language. It's not *just* Python (which I think is awesome already).
It's Python implemented in ILE, with full RLA capabilities in addition
to the SQL that every language under the sun has.

I haven't fully investigated IBM's Pythons for PASE yet, but I am
fairly doubtful that they can make use of RLA so easily. (I know you
could write a "helper" in RPG, and then call *that* from Python, but
of course that's not as easy or seamless as what I'm looking for.)

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.