Previous Topic: Inserting RecordsNext Topic: Primary Exclusive Control


Exclusive Control

Exclusive control is an enqueuing mechanism CA Datacom/DB provides to protect database records against the following:

Exclusive control operates at the logical record level. If Task 1 attempts to read a record for update that is held under either primary or secondary exclusive control by Task 2, it waits until Task 2 releases control of the record. Task 1 cannot get update control of the record until one of the following occurs:

If Task 2 is a long running batch job that is updating many database records without issuing CHECKPOINT commands, all online tasks that access those same records for update wait. This can degrade online response time.