When I run this request
IF(Q17>3 & Q20>2 & Q19>1 & Q5<3 & Q8<3 & Q23=0 & Q18=1) B1b=1.
Execute.
I get the correct result. B1b=1
However, earlier I computed the variable E
If I now run IF(Q17>3 & Q20>2 & Q19>1 & Q5<3 & Q8<3 & Q23=0 & Q18=1)AND
(E<1) B1b=1.
Execute.
Or IF(Q17>3 & Q20>2 & Q19>1 & Q5<3 & Q8<3 & Q23=0 & Q18=1)AND NOT (E=1)
B1b=1.
Execute.
I fail to get a B1b=1.
Yet if I run
IF(Q17>3 & Q20>2 & Q19>1 & Q5<3 & Q8<3 & Q23=0 & Q18=1) B1b=1.
Execute.
Then
IF(Q17>3 & Q20>2 & Q19>1 & Q5<3 & Q8<3 & Q23=0 & Q18=1)AND E<1 B1b=1.
Execute.
This gives me an accurate result of B1b=1.
Can anyone tell me why this is and how I can fix it. As I want to run my
syntax once only to generate the result.
=====================
To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
-- Javier Figueroa Procesamiento y Análisis de bases de datos