sas sum by year. . enables PROC MEANS to use the primary and secondary f