Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
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

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 for being true or false.

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


Specifying a Range of Observations

Selecting a Set of Variables

Selecting Observations

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.