SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Reading Free-Format Data
Free-Format Data


You may have worked with raw data contained in fixed fields. In doing so, you used column input to read standard data values in fixed fields. Or, you may have used formatted input to read both standard and nonstandard data in fixed fields.

Suppose you have raw data that is free-format; that is, it is not arranged in fixed fields. The fields may be separated by blanks or some other delimiter, as shown below. Column and formatted input that you may have used before to read standard and nonstandard data in fixed fields won't work in this case.


1---+----10---+----20---+----30
ABRAMS*L.*MARKETING*$8,209    
BARCLAY*M.*MARKETING*$8,435
COURTNEY*W.*MARKETING*$9,006 
FARLEY*J.*PUBLICATIONS*$8,305
HEINS*W.*PUBLICATIONS*$9,539 



back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement