Modes INPUT, BINARY and RANDOM allow a file to be concurrently opened in a different mode and number.
File ACCESS and LOCK Permissions
ACCESS clause limits file access to READ, WRITE or READ WRITE on a network.
LOCK clause can specify SHARED or a LOCK READ or LOCK WRITE file lock in an OPEN statement working on a network.
A separate LOCK statement can lock or UNLOCK file access on a network using a format that can lock specific records.
If another process already has access to a specified file, program access is denied for that file OPEN access. A "Permission Denied" error 70 will be returned. A network program must be able to handle a denial of access error.