That's sort of what CICS does, more or less, Vern, and was a good enough design pattern for thoughtful and diligent AS/400 application architets.
The modern web-enabled IBM i demands more sophistication.
Of course, if one's organization has walked away from modernization, they'll be off the platform within a few years, so for them it doesn't matter much.

From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of VERNON HAMBERG Owner via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>
Sent: Monday, June 10, 2024 4:20 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: VERNON HAMBERG Owner <vhamberg@xxxxxxxxxxxxxxx>; midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Is there a process that would allow me to take control of an interactive session?

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

True enough, Darryl - but that doesn't stop you from writing code anew that does what you want - briefly, read a record without a lock, preserve its value (using a DS for I/O is nice here), show the update screen, after enter pressed, read record again with lock (probably?), compare to saved state, if the same, update it, if not the same, notify user appropriately.

How's that, Jack, close enough for government work? I'm sure there are foibles lurking in that description, but it's maybe a start.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 by 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.