Chapter 5. Multipanel Reports

The reports in Chapters 2, 3, and 4 have an underlying structure of one panel per page. When a list or table reaches the end of the page, it does not continue to another panel on the page, but instead it continues on the next page.

This chapter presents two examples in which the underlying structure of the reports is more than one panel per page. When your reports have a narrow structure, they may look better if you can put them in multiple panels on a page.

The first example uses PROC REPORT. The second example is a customized report produced by a DATA step.

Example 5.1 uses options that function only when sending the report to the LISTING destination. Example 6.11 shows a way of creating a similar report that is sent to a nonlisting destination.

The programming statements in Example 5.2 that explicitly designate row and column positioning work best when sending the report to the LISTING destination. If you wanted to send Example 5.2 to a nonlisting destination, you could add the ODS statement option COLUMNS= as demonstrated in Example 6.11. Your DATA step would become simpler because you could write the code to output information for just one panel. ODS would handle the placement of information in the panels.

See the back of this book for a list of titles related to the features of these examples, and visit the SAS Press Web site (support.sas.com/saspress) for current information on new and revised publications.

Several presentations at SUGI conferences show how SAS users apply report-writing techniques. Recent conference proceedings that are available online provide a wealth of additional applications and examples. You can link to them through the SAS support Web site (support.sas.com).

Table 5.0 presents a cross-reference of the examples in this chapter to the procedures used, data sets used, and ODS enhanced versions of the examples. See Appendix A for details on the example data sets analyzed in this chapter. See Appendix B for a table that cross-references all examples in this book.

Table 5.0. Cross-Reference of Examples in Chapter 5
ExampleReport-Writing Tool UsedODS Enhanced VersionData SetExample Title
REPORTTABULATEPRINTDATA StepMEANSFREQ
5.1X     6.11INVENTORYConstructing a Basic Multipanel Report
5.2   X   STUDENTSConstructing an Advanced Multipanel Report

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.205.154