PROC PRINT is useful general purpose procedure for displaying variables with or without labels. Temporary user-defined formats may be applied or default formats are applied.
Common options are NOOBS to suppress the record number, WIDTH=MINIMUM to use data value length instead of full variable lengths and HEADING=VERTICAL or HORIZONTAL for variable name display. The BY statement displays records in BY groups. Note that if a WHERE condition is applied, then the OBS numbers may not be in sequence order since some records will be excluded. Only the records meeting the condition will be displayed.
Below is a collection of SAS® papers on PROC PRINT.
Beginner Paper PROC PRINT - the Granddaddy of all Procedures, Enhanced and Still Going, Strong!, David Franklin
ODS Paper PROC PRINT and ODS: Teaching an Old PROC New Tricks, Darylene Hecht
SAS® Reference PROC PRINT Syntax
1. Before PROC REPORT, There Was PROC PRINT, Clarence Wm. Jackson
2. REPORT WRITING WITH PROC PRINT AND PROC QPRINT, James A. Le Goullon, Debra Martinson
3. SAS TUTORIAL: PROC PRINT REPORTING, James M. Watts
4. Changes & Enhancements for ODS by Example (through Version 8.2), Sandy McNeill