Introduction
We illustrate simple ways of printing lists of data 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, .
Task
Result
SAS Keywords/Code
Detail
a. Print all variables
Table 1a.
PROC PRINT
b. Printing a subset of variables
Table 1b.
VAR
c. Printing the first several records
Table 1c.
PROC PRINT DATA= (OBS= )
d. Printing records conditionally
Table 1d.
WHERE
e. Suppressing the Obs Column
Table 1e.
PROC PRINT NOOBS
f. Using an ID variable
Table 1f.
ID
Last Update:9/28/98 Comments: Ed Stanek Email: stanek@schoolph.umass.edu \ed\web\be691\webready\sdprt2.html