SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Reading Raw Data
Submitting the DATA Step Program


Checking DATA Step Processing

If you submitted the DATA step below in the previous guided practice, it ran successfully.

     data clinic.stress;    
        infile tests obs=10;
        input ID 1-4 Name $ 6-25
              RestHR 27-29 MaxHR 31-33
              RecHR 35-37 TimeMin 39-40
              TimeSec 42-43 Tolerance $ 45;
     run;
Messages in the log verified that the raw data file was read correctly. The notes in the log indicate that
  • 10 records were read from the raw data file
  • the SAS data set Clinic.Stress was created with 10 observations and 8 variables.

SAS Log
NOTE: The infile TESTS is:
      File Name=C:\My SAS Files\tests.dat,
      RECFM=V,LRECL=256

NOTE: 10 records were read from the infile TESTS.
      The minimum record length was 45.
      The maximum record length was 45.
NOTE: The data set CLINIC.STRESS has 10 observations 
      and 8 variables.
NOTE: DATA statement used:
      real time           4.04 seconds
      cpu time            0.12 seconds



back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement