Previous PageNext Page

Review: Building SAS data sets
The following code builds the temporary data set SURVEY1.

DATA SURVEY1;
   INPUT SUBJ GENDER :$1. HEIGHT WEIGHT YEAR;
DATALINES;
1 M 68 155 91
7 F 72 205 90
9 M 66 120 93
;

The data set SURVEY1 is temporary because it exists only as long as this session of SAS is running. A note in the SAS log tells you that the SURVEY1 SAS data set is in the WORK SAS library:

NOTE: The data set WORK.SURVEY1 has 3 observations and 5 variables.

Previous PageTable Of ContentsNext Page