The LOCKTYPE option specifies the type of record locking in use.
0 |
Programs can read locked records, but cannot access them in
other ways. This is the standard method with this COBOL system. |
1 |
Programs cannot access locked records at all. This is as in
languages other than COBOL. |
2 |
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. On Windows NT, this enables the file handler to read and
write to files up to 4 Gigabytes in size regardless of whether the file is
shared or locked. |