Sample Question #111 (programming – SAS)
Imagine we have a text data file with five fields in each record: ID, age, sex, zip code, and income. But for some records, the income field is blank (i.e., missing but not populated with anything to indicate it’s missing). For example, the first four lines of the input file looks like:
323553 23 F 98630 50328.32
864970 32 M 02138 103458.09
732481 15 F 10013
124869 89 M 86704 2358.16
How do you read a file like this correctly in SAS, so that missing incomes are automatically denoted as "missing" by SAS?