By default the UPDATEMODE=MISSINGCHECK
option is in effect, so missing values in the transaction data set
do
not replace existing values
in the master data set. Therefore, if you want to update some but
not all variables and if the variables that you want to update differ
from one observation to the next, set to missing those variables that
are not changing. If you want missing values in the transaction data
set to replace existing values in the master data set, use UPDATEMODE=NOMISSINGCHECK.
Even when UPDATEMODE=MISSINGCHECK
is in effect, you can replace existing values with missing values
by using special missing value characters in the transaction data
set. To create the transaction data set, use the MISSING statement
in the DATA step. If you define one of the special missing values
A
through
Z
for
the transaction data set, SAS updates numeric variables in the master
data set to that value.
If you want the resulting
value in the master data set to be a regular missing value, use a
single underscore (_) to represent missing values in the transaction
data set. The resulting value in the master data set will be a period
(.) for missing numeric values and a blank for missing character values.
For more
information about defining and using special missing value characters,
see the MISSING Statement.