Use OR conditional statement using the MISSING function (SPSS)

#1
I want to use an OR conditional statement using the MISSING function in SPSS (see below), but it doesn't work like this. Anyone knows how I can code this correctly?

Code:
COMPUTE inclOndrzGeweig=1.
IF  (MISSING(geslacht | Leeftijd | RSES1_T0 | RSES2_T0 | RSES3_T0 | RSES4_T0 | RSES5_T0 | RSES6_T0 | RSES7_T0 | RSES8_T0 | RSES9_T0 | RSES10_T0 | gewichtobj | gewichtobj_t1 | gewichtobj_t2)) inclOndrzGewEig=0.
 

Karabiner

TS Contributor
#2
Yes, it needs to be IF(MISSING(var1) OR MISSING(var2)...

Use NMISS instead. It counts missing values within cases over variables:

IF(NMISS(geslacht, Leeftijd,....,gewichtobj_t2) > 0)...

With kind regards

Karabiner