UMASS Department of:
Biostatistics and Epidemiology

Basics
Combos
Desc Stats
Advanced
Index
SASHome
Print
Freq
Chart
Means
Univariate
Plot
more....
Printing Lists of Data
2. Special Printing Tasks


Introduction

We illustrate special printing tasks using PROC PRINT. The illustrations use data read by a simple SAS program that consists of a portion of the full data from a study of Intensive Care. The SAS data set used in this example includes LABELS and FORMATS to make it easy to understand.

Task

Result

SAS Keywords/Code

Detail

a. Grouping Lists

Tables 2a1, 2a2

PROC SORT; BY ;
ID ;

b. Lists with Column Sums

Table 2b.

SUM ;

c. Column Sums by Groups

Table 2c.

SUM ; SUMBY;

d. Breaking up Col Labels

Table 2d.

PROC PRINT SPLIT=;

e. Subjects on Same Page

Table 2e

-- SAS default --

f. Variables on Same Page

Table 2f.

PROC PRINT ROWS=PAGE


Last Update:9/28/98
Comments: Ed Stanek
Email:
stanek@schoolph.umass.edu
\ed\web\be691\webready\sdprt3.html