Tip: To apply different formats to variables being summed, use multiple SUM statements. The sum appears at the bottom of the calendar page, if there is room; otherwise, it appears on the following ...
When you use a SUM statement and a BY statement with one BY variable, PROC PRINT sums the SUM variables for each BY group that contains more than one observation and totals them over all BY groups ...