The LABEL statement associates a label with the variable Region for the duration of the PROC PRINT step. The BY line at the beginning of each BY group uses the label. The FORMAT statement assigns a format to Expenses and Revenues for this report. The TITLE statement specifies a title.
   label  region='Sales Region';
   format revenues expenses comma10.;
   title 'Revenue and Expense Totals for Each State and Region';
run;