Reader Feedback and Insights: Avoiding Object Locks
July 10, 2002 Timothy Prickett Morgan
Hey, Ted:
After reading the January 18 Midrange Guru article, “Avoiding Record Locks in RPG,”I still don’t understand how the record lock is avoided. The program acknowledged the condition by the indicator that was set, but how does this change the fact that the record is locked? Can you enlighten me?
— Tom
The technique doesn’t do anything about the lock, Tom. It can’t. But the technique does keep a program from freezing while waiting for a record lock, and it does tell which job has the record locked.
Of course, since it tells you which job has