Reading Raw Data in Fixed Fields |
Record
Formats![]() ![]() |
The record format of an external file may have some impact
on how data is read with column and formatted input. A record format specifies
the characteristics of the organization of records in a file.
Some operating systems can have external files with different types of record formats. Two common record formats are fixed-length records and variable-length records. External files with a fixed-length record format have an end-of-record marker after a predetermined number of columns. A typical record length is 80 columns. |
Variable-Length
Records
Files with a variable-length record format have an end-of-record marker after the last field in each record. As you can see, the length of each record varies. |
![]() ![]() ![]() ![]() ![]() ![]() |
|
![]() |
![]() |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.