Example 1
OBS ID HEIGHT WEIGHT GENDER AGE
1 1 68 144 M 23
2 2 78 202 M 34
3 3 62 99 F 37
4 4 61 101 F 45
Log Window
15 DATA LISTINP;
16 INPUT ID
17 HEIGHT
18 WEIGHT
19 GENDER $
20 AGE;
21 DATALINES;
NOTE: The data set WORK.LISTINP has 4 observations and 5 variables.
NOTE: DATA statement used:
real time 1.00 seconds
26 ;
27 PROC PRINT DATA=LISTINP;
28 TITLE 'Example 1';
29 RUN;
NOTE: PROCEDURE PRINT used:
real time 0.00 seconds
Read the log! Notice where the data step ended. Notice where the next step began.