Chapter Contents

Previous

Next
The PRINT Procedure

Overview

The PRINT procedure prints the observations in a SAS data set, using all or some of the variables. You can create a variety of reports ranging from a simple listing to a highly customized report that groups the data and calculates totals and subtotals for numeric variables.

Simple Report Produced with PROC PRINT illustrates the simplest kind of report that you can produce. The statements that produce the output follow. A DATA step creates the data set EXPREV.

options nodate pageno=1 linesize=64
        pagesize=60;
proc print data=exprev; run;

Simple Report Produced with PROC PRINT
[HTML Output]  [Listing Output]

Customized Report Produced with PROC PRINT is a customized report that is produced by PROC PRINT. The statements that create this report

For an explanation of the program that produces this report, see Creating a Customized Layout with BY Groups and ID Variables .

Customized Report Produced with PROC PRINT
[HTML Output]  [Listing Output]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.