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, see Understanding the DATASETS Procedure.
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, see “Understanding SAS Indexes” in Chapter 26 of SAS Language Reference: Concepts.
MERGE statement
For more information, see Merging SAS Data Sets.

Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.