= re | The records within a relative record file are addressed by a unique record \ number. To access record xX, the value X has to be placed in the appropriate field of the I/O Peripheral Access Block. The range of record numbers is from zero to one less than the number of records in the file. Records in a relative record files are a fixed length, specified al file i creation. Records in a relative record file can also he accessed in a sequential way by specifying only the first record in the sequence. The supervisor then automatically updates the record number each time after a record has been read. C.2.2 File Management Overview C.2.2.1 Terminology A file consists of a collection of data groupings called logical records. This division of the file into logical records docs not necessarily correspond to the physical division of data on the medium (like a sector on a disk). Thus there are two types of records: o Logical records--The data grouping of a file as seen by an application program. Physical records--The buffers physically transferred between memory and medium. Relative file 1/0 from a program is done on a logical record with a fixed length. This enables the system to compute the actual location of any logical record relative to the beginning of file. Sequential files allow both fixed and variable length records. When a file is created, the logical record size must be specified. For relative record tiies this size must be exact. For sequential files the specification indicates an upper limit for the size of a variable record, or the exact length of a fixed-length record. In case a zero is specified for cither filetype, the DSR must select a default for the recurd size. The physical record size for any medium is specified within the DSR and is implementation dependent.