This tutorial explains how to use PROC FREQ by group in SAS to calculate frequencies by group, including an example.
SAS Frequency Distribution Using SAS PROC FREQ - DataFlair
SAS Basics - Part 2
format - Formating proc freq output table in SAS - Stack Overflow
Proc Freq: 7 Ways to Compute Frequency Statistics in SAS
Proc Freq: 7 Ways to Compute Frequency Statistics in SAS
SAS: How to Use PROC FREQ by Group - Statology
SAS Basics - Part 2
SAS PROC Format Predefined and User Defined Format in SAS
Lesson 11
SAS Basics - Part 2