I don't want to RECODE missing data as zeros, I want to leave the
original variables intact.
Thanks,
D.M.
Like this?
If (missing(vara) and varb=2) varc=3 .
--
Rich Ulrich, wpi...@pitt.edu
http://www.pitt.edu/~wpilib/index.html
What you are looking for is also referred to as the value $SYSMIS (one
of the system variables). The value of course only refers to the system
missing values. You can either use the SYSMIS() OR MISSING() functions
or u can use $SYSMIS as the specification of the value as in IF
(a=$SYSMIS) b=1.
hth
A