You can keep other variables. But you have to choose from among more than one value. When you get a sum, that comes from many observations, but only one of the values of those other variables can be saved.
Take a look at MINID and MAXID. You can select whether you want the minimum or the maximum value of the "other" variables kept in the summary data set.
... View more