Reading raw data separated by spaces
Example 1 from C&P Chapter 1 (file: CP0101.sas)
DATA LISTINP; INPUT ID HEIGHT WEIGHT GENDER $ AGE; DATALINES; 1 68 144 M 23 2 78 202 M 34 3 62 99 F 37 4 61 101 F 45 ; PROC PRINT DATA=LISTINP; TITLE 'Example 1'; RUN;
Copy the above text into the SAS Program Editor and run it, or click on the link above.