Reading Hierarchical Files |
Creating One Observation per Header Record |
In the previous example, you learned how to create one observation per
detail record. But suppose you only want to know how many people reside at
each address. You can create a data set that reads each detail record, counts
the number of people, and stores this value in a summary variable.
In the example below, this summary variable, |
Raw Data File
|
SAS Data Set
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.