× 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.



Never been bitten.  The check-for-changed-data before update, fired maybe 3 times that I recall in all my time 20+ years.
Each time it was a user not following their procedures.  Each time it would not have mattered if the update happened.
I decided it was more effort than it was worth putting in check-for-changed-data before update.
Users never complained that multiple updates happened.
Sometimes as coders we dont see the job from the user perspective.
( heh heh heh an unrelated issue eg. I am minded of IBMs standard of making the constants on a display HI, I did the exact reverse)

Frank


On 19/08/2022 1:34 pm, Roger Harman wrote:
Hard to believe you've never been bitten by overlapping updates.
I would not trust that - But, if it works for you.....


Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power



-----Original Message-----
From: RPG400-L<rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Frank Kolmann
Sent: Thursday, August 18, 2022 6:53 PM
To:rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: Using a timeout with display files

Interesting.  Good Stuff.
Would have been good for me to use.

Except for case 1).
I never ever coded to hold record locks not even for editing.
Always released a record immediately after read.
Read and Lock just before update, the update released the record lock.
In the beginning I coded fancy check-for-changed-data before update, but
I found this really was not needed.

Frank


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.