What are the types of record locks and how are they set?

Submitted by: Administrator
Locks may be shared or exclusive. Shared means that other run units can retrieve the record but cannot modify it. Exclusive means that other run units can neither retrieve nor modify it. Record locks may be implicit or explicit. Implicit locks are set in the ready statement usage clause. Explicit locks are set using either the keep statement or keep option of the find/obtain command.
Submitted by: Administrator

Read Online Cobol Job Interview Questions And Answers