-
Copy the program below and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ).
data work.testtime;
set clinic.stress2;
if maxhr<155 or resthr<71;
run;
-
Modify the DATA step to prevent the variables
ID and
Name from being read and to keep only the variables
TimeMin and TimeSec in the new
data set.
-
Submit the program and view the log messages about the DATA step.
Work.TestTime should contain 8 observations.
-
Print the data set and scroll through the output. Does the new data
set contain only 2 variables, in this case
TimeMin and
TimeSec ?
Return here and select Next.
|
|