Table 3: AOPTIONS

Bits

Value

Meaning

Comment

8:2 01 Exclusive The process opening the file demands exclusive access to the file. Other processes will not be able to access it while you have it open.
8:2 10 Exclusive allow read The process opening the file is the only one that can write to the file. Others can read the file while you have it open.
8:2 11 Share The file is shared. Others can read or write the file. The FLOCK intrinsic should be used to avoid corruption.
10:1 0 No FLOCK allowed
10:1 1 FLOCK is allowed
12:4 0000 Read only This file is opened for read access (FREAD is used to read the file).
12:4 0001 Write only This file is opened for write access (FWRITE is used to write new records to the file).
12:4 0011 Append only This file is opened for append access (like write access, but records are appended to the end of the file instead of replacing them).
12:4 0100 Read/Write This file is opened for read and write access (FREADDIR and FWRITEDIR will be used to access the file).
12:4 0101 Update This file is opened for update access (FUPDATE is used).