Chapter 18: Displaying Your Data


Producing a Simple Report Using PROC PRINT

Using Labels Instead of Variable Names as Column Headings

Including a BY Variable in a Listing

Including the Number of Observations in a Listing




The chapter describes how to use PROC PRINT to list all or part of a SAS data set. PROC PRINT can create decent-looking reports that include column labels and summary data.  However, if you need a fancier report or want more control over its appearance, you can use PROC REPORT to produce your report. There is a tradeoff:  PROC REPORT can produce more sophisticated, custom reports, but it is more complicated to use. As a matter of fact, there are entire books dedicated to PROC REPORT. ...

Get An Introduction to SAS University Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.