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 number
in a summary variable.
the example below, this summary variable, Total, is computed for
each address. As you can see, creating one observation per header
record condenses a large amount of information into a concise data
As you write the DATA step to read this file, you need to think about performing several tasks. ...