DATA COLINPUT; INPUT AGE 8-9 ID 1 WEIGHT 4-6 HEIGHT 2-3 GENDER $ 7; DATALINES; 168144M23 278202M34 362 99F37 461101F45 ; PROC PRINT DATA=COLINPUT; TITLE 'Example 5.4'; RUN; Example 5.4 OBS AGE ID WEIGHT HEIGHT GENDER 1 23 1 144 68 M 2 34 2 202 78 M 3 37 3 99 62 F 4 45 4 101 61 F
Note the ordering of the variables