The ACCESS specifier indicates the access method for the connection of the file. It takes the following form:
'DIRECT' | Indicates direct access. |
'SEQUENTIAL' | Indicates sequential access. |
'APPEND' | Indicates sequential access, but the file is positioned at the end-of-file record. |
The default is 'SEQUENTIAL'.
There are limitations on record access by file organization and record type.
For More Information:
For details on limitations on record access, see your user manual or programmer's guide.