![]() Use of Locking |
![]() Virtual Machine |
![]() |
PROIV uses and controls C-ISAM record level locks, and uses the same locking strategy as existing PROISAM versions. However, C-SAM does not permit locking of a particular unique key value before the record with the value has been inserted into a file. This means that a non-existent record does not appear locked when two PROIV processes attempt to read the record in Add mode. If both processes subsequently attempt to insert (write) the record into the file, only the first process will be successful, the second process will encounter a write error (record already exists).
Topic ID: 720272