Previous | Next
|
Direct Access
|
|
With Direct Access, a file is made up of fixed-length logical records that allow
programs to read and write records rapidly in no particular order. The direct-access
method is based on a disk model of a file, since disks allow random access to any
file block. For direct access, the file is viewed as a numbered sequence of blocks
or records. A direct-access file allows arbitrary blocks to be read or written.
|
|