hello,
I have a small problem with defining some missing values and hope somebody can help me...
I want to recode the values of several variables (B,C,D) into "missing" (=99) IF a specific other variable (A) is coded as missing.
I already tried to filter A as missing and then recode B,C and D but somehow it didn't filter but recoded all values of B,C,D into missing no matter if A was coded as missing or not.
then I tried "DO IF A=99. RECODE B (0=99) (1=99). RECODE C (0=99) (1=99). RECODE D (0=99) (1=99). END IF."
nothing happened
I hope the problem is clear and am curious what your solutions are.
Lale.