Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Working with SAS Data Sets

Editing a SAS Data Set

You can edit a SAS data set 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

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

Updating Observations

Deleting Observations

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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