The following figure
represents the results of processing your data with the single BY
variable ZipCode. The input SAS data set contains street names, cities,
states, and ZIP codes that are arranged in an order that you can use
with the following BY statement:
by ZipCode;
The figure shows five
BY groups each containing the BY variable ZipCode. The data set is
shown with the BY variable ZipCode printed on the left for easy reading.
However, the position of the BY variable in the observations does
not matter.
The first BY group contains
all observations with the smallest BY value, which is 33133; the second
BY group contains all observations with the next smallest BY value,
which is 33146, and so on.