Summary

Statements

UPDATE master-SAS-data-set transaction-SAS-data-set;
BY identifier-list;
The UPDATE statement replaces the values of variables in one SAS data set with nonmissing values from another SAS data set. Master-SAS-data-set is the SAS data set that contains information that you want to update. Transaction-SAS-data-set is the SAS data set that contains information for updating the master data set.
Identifier-list in the BY statement is the list of BY variables by which you identify corresponding observations.

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.