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