Example 6.2 Updating a Data Set and Allowing Some Values to Be Updated with Missing Values
Update a master data set with values from another data set. The second data set contains missing values. Control which missing values in the second data set can overwrite existing values in the master data set.
Examples 6.1, 6.2, 6.3, 6.4, and 6.5 illustrate ways to update common variables when combining data sets. The five examples apply the methods to the same master data set. Different transaction data sets are used in Examples 6.1, 6.2, and 6.3. Examples 6.4 and 6.5 use the same transaction data set and produce different resulting data sets.
|Featured Step||DATA step|
|Featured Step Options and Statements||MISSING statement
UPDATE and ...