Introduction

To list the information in a data set, you can create a report with a PROC PRINT step. Then you can enhance the report with additional statements and options to create reports like those shown below.

To view a type of report and the SAS statements that were used to create it, select an image.


Basic Report
basic report

Column Totals
report with column totals

Sorting and Labels
enhanced report

Selected Observations and Variables
report with selected observations and variables


1.5 hours



In this lesson, you learn to

  • specify SAS data sets to print
  • select variables and observations to print
  • sort data by the values of one or more variables
  • specify column totals for numeric variables
  • double space SAS listing output
  • add titles and footnotes to procedure output
  • assign descriptive labels to variables
  • apply formats to the values of variables.

complete the following lessons:

  • .