Previous Page | Next Page

Working with SAS Data Sets

Editing a SAS Data Set

You can edit a SAS data set by using the EDIT statement. You can update values of variables, mark observations for deletion, delete the marked observations, and save the changes you make. The general form of the EDIT statement is as follows:

EDIT SAS-data-set <VAR operand> <WHERE(expression)> ;

where

SAS-data-set

names an existing SAS data set.

operand

selects a set of variables.

expression

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

Previous Page | Next Page | Top of Page