System Interface Guide

Setting and Removing Record Locks

Locking a record is done the same way as locking a file except that the starting point and length of the lock segment is not set to zero.

Plan a failure response for when you cannot obtain all the required locks. Contention for data is why you use record locking, so different programs might: