Updating SAS Data Sets |
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.
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.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.