Previous Page | Next Page

Updating SAS Data Sets

Learning More

DATASETS procedure

When you update a data set, you create a new data set containing the updated information. Typically, you want to use PROC DATASETS to delete the old master data set and rename the new one so that you can use the same program the next time you update the information. For more information about the DATASETS procedure, see Managing SAS Data Libraries.

Indexes

If a data set has an index on the variable or variables named in the BY statement that accompanies the UPDATE statement, you do not need to sort that data set. For more information about indexes, see the SAS Language Reference: Dictionary and the SAS Language Reference: Concepts.

Merge statement

See Merging SAS Data Sets.

Previous Page | Next Page | Top of Page