92
Type U Data File
A type U data file specifies that each record in the file starts at the
beginning of a sector and that a record cannot span from one sector
to another.
Data File
tL\/J/
'[.:[2
I I I I
Individual Sectors
For a type U data file, each record
must be contained in one sector.
The sectors on a diskette can be
128, 256, 512,
or
1,024
bytes. If a
record does not require the number of bytes available in a sector, the
remaining portion of the sector is unavailable for data storage.
Unavailable Diskette Storage
To obtain the maximum available storage for a type U data file, you
should do one of the following:
• Write records to the file that are the same size as (or as close as
possible to) the sector size.
• Use a diskette whose sectors are initialized
(128, 256, 512,
or
1,024)
nearest to the record size. Remember, the entire record must fit in
one sector.