SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Reading Raw Data
Submitting the DATA Step Program


Reading the Entire Raw Data File

Now that you've checked the log and verified your data, you can modify the DATA step to read the entire raw data file. To do so, remove the OBS= option from the INFILE statement and resubmit the program.

                                                                                
         data clinic.stress;                                              
            infile tests;                                                 
            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;                                                             
                                                                              

back||next


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

Terms of Use & Legal Information | Privacy Statement