DIRECT is a file description attribute that indicates that a file can be accessed non-sequentially, that is, by key or by relative record number.
The DIRECT attribute may be given either in the declaration of a file constant or in an OPEN statement. It must not be specified in the declaration of a file variable.