Define the table rows. The row dimension of the TABLE statement creates a row for each formatted value of Region. Nested within each row are rows for each formatted value of Division and a row (labeled Subtotal ) that summarizes all divisions in the region. The last row of the report (labeled Total for All Regions ) summarizes all regions. The format modifier f=DOLLAR12. assigns the DOLLAR12. format to the cells in this row.


table region*(division all='Subtotal')
         all='Total for All Regions'*f=dollar12.,