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.
SAS® Reference PROC PRINT Syntax