Previous Page | Next Page

Working with SAS Data Sets

Listing Observations

You can list variables and observations in a SAS data set with the LIST statement. The general form of the LIST statement is as follows:

LIST <range> <VAR operand> <WHERE(expression)> ;

where

range

specifies a range of observations.

operand

selects a set of variables.

expression

is an expression that is evaluated as being true or false.

The next three sections discuss how to use each of these clauses with the CLASS data set.

Previous Page | Next Page | Top of Page