Locks and Deadly Locks
From MidrangeWiki
Locks
Locks are normal.
GO CMDLCK
RPG Reads an entire record into a program which will be updating the record on some account, item, customer, order, whatever. Different programs in the hands of different users might be updating different fields such as:
- Inventory Totals
- $ Financials
- Alphabetical descriptions
We want to avoid conflicts between the different people who might be updating different fields in the same records at the same time.
Deadly Locks
Deadly Locks are a symptom of poor software design and/or poor implementation practices.