SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Creating Multiple Observations from a Single Record
Reading Repeating Blocks of Data


DATA Step Processing of Repeating Blocks of Data

Here is the complete DATA step.

     data perm.april90;  
        infile tempdata;
        input Date : date. HighTemp @@;
        format date date7.;        
     run; 

Select buttons below to view a series of graphics that depict DATA step processing of repeating blocks of data.


Then you can display the data set with the PRINT procedure.

     proc print data=perm.april90;
     run;

Obs Date HighTemp
1 01APR90 68
2 02APR90 67
3 03APR90 70
4 04APR90 74
5 05APR90 72
6 06APR90 73
7 07APR90 71
8 08APR90 75
9 09APR90 76



back||next


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

Terms of Use & Legal Information | Privacy Statement