University of Southern California

ITS Information Technology Services

A division of the Office of the Chief Information Officer

Creating Simple Reports with SAS

The simplest way to create a report with SAS is to type:

Proc print data = datasetname ;
run;

The statements above will produce a very simple report, with all of the variables listed and an identification number presented next to each record.

SAS Proc Print Output

Very elaborate reports can be created with SAS procedures. The first steps in modifying a report from the basic print procedure, are described in the USC-ITS documentation page Less Simple Reports , which explains additional statements used with the print procedure.

For anyone interested in more polished reports with print or any other SAS procedure, the USC-ITS documentation page HTML, PDF and RTF output is a must-read.

Other SAS reporting procedures include Proc Tabulate and Proc Report. To learn more about these, you can attend the Adventures in Technology workshop, "Graphics and Reporting with SAS". (See the the Adventures website for the latest schedule.)

The book "Proc Tabulate, by Example", by Lauren Haworth is also highly recommended for anyone wanting to learn more about this particular SAS reporting procedure.

Last updated:
September 24, 2008

SAS

The use of all USC computing resources is governed by the USC Computing Policies.