Question: do if else spss syntax?
Answer: ELSE IF <logical-expression>: (Optional): if the condition specified on DO IF is false, SPSS evaluates the logical condition specified on the first ELSE IF and executes the command sequence following it if true, otherwise the - if present - the next ELSE IF is evaluated.