各位高人,我想找出B02 B03 B05 B07变量中的异常赋值,思路是如果该赋值变量不在规定的值中,就将其打印出来,段程序如下:
Proc print data=c1;
where b02 not in('1''2''3''4''') or
b03 not in('1''2''3''') or
b05 not in('1''2''3''4''5''6''') or
b07 not in('1''2''3''4''') ;
id id;
var b02 b03 b05 b07;
run;
但是这段程序运行后sas总是把所有的记录全部打印出来,也就是where b02 not in('1''2''3''4''') 这个语句没有发挥作用,请问这个是什么问题啊?怎么能解决呢?谢谢!!!