Previous Topic: Wait for Access to a Resource

Next Topic: Alter the Status from EXCL to SHR

Alter the Status of a Resource Lock

If required, you can alter the resource lock status of a process during processing by using the ALTER=YES operand on the &LOCK verb. Altering the lock status from exclusive to shared is always possible, however there are some restrictions when altering the lock status from shared to exclusive.