
110 Carpenter’s Complete Guide to the SAS REPORT Procedure
6.6 BY-Group Processing 136
6.6.1 Using the BY Statement 137
6.6.2 Creating Breaks with BY Groups 138
6.6.3 Using the #BYVAL and #BYVAR Options 139
6.6.4 BY Groups and the Output Delivery System 141
6.7 Calculations Using the FREQ Statement 144
6.8 A Further Comment on Paging Issues 145
6.9 Chapter Exercises 146
As our desire to create more complex reports increases, so too must our understanding of the
PROC REPORT step’s available options and statements. Depending on the types of reports that
you create, you may or may not use all or even most of the options and techniques di