The only quirk you might want to know is that PROC SUMMARY puts the totals at the top of the output data set, whereas you want them at the bottom, but you can do a sort BY DESCENDING _TYPE_; and then the totals are at the bottom.
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.