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 the record locked, you could make the program cancel the other job by executing ENDJOB with QCMDEXC.
— Ted
Sponsored By WORKSRIGHT SOFTWARE |
On June 30, 2002,
On July 1, 2002,
We have the solution! CASS certify your mailing names
WorksRight Software,
Visit our Web site – www.worksright.com – |