-
Book Overview & Buying
-
Table Of Contents
Mastering SAS Programming for Data Warehousing
By :
Up to now, we have looked at graphics produced by setting options on analytic PROCs. Following the invention of the ODS, SAS invented new PROCs that were designed specifically to produce reporting output that automatically leverages the ODS as part of how they run. For tabular reporting, PROC REPORT and PROC TABULATE were developed, and for graphical reporting, PROC SGPLOT, PROC SGPANEL, PROC SGSCATTER, and PROC SGRENDER were created. These PROCs provide much more ability for the programmer to customize output. PROC SGRENDER is intended to be used with PROC TEMPLATE, and this provides even more opportunities for customization of reporting. This section will provide examples of how to use these PROCs.
PROC REPORT is easy to use if your report consists of mostly raw data, comparable to a select query in SQL. Imagine we wanted to view the age, sex, and state of the top 10 records in our dataset, Chap5_1. We could first make a reporting...