
136 Handbook of SAS
®
DATA Step Programming
lname $
city & $13.
income : comma.;
run;
title 'Using the modified list input method';
proc print data = ex8_6;
run;
Output from Program 8.6:
Using the modified list input method
Obs fname lname city income
1 James Miller New York 1100000
2 Patricia Davis Phoenix 90000
3 John Jackson Dallas 7500
4 Christopher Jones San Francisco 95000
5 Mary Martinez Los Angeles 150000
8.2.5 Mixed Input
You can mix input styles when reading a text le. For example, in CH8_7.TXT,
the rst eld, occupying columns 1 to 14, contains values for the NAME vari-
able. The second eld, occupying ...