LOCKTYPE option specifies the type of record locking in use.
- Programs can read locked records, but cannot access them in other ways. This is the standard method with this COBOL system.
- Programs cannot access locked records at all. This is as in languages other than COBOL.
- Creates a new file with the same base name as the file being opened but with a
.lck extension. Any record locks are recorded in this file.