Hello all. I have two columns, a name and a condition. data person; input name $ condition $; datalines; John "name not in ('Mary')" Mary "name not in ('Jack', 'Bob')" ; How do I use condition when looping through the data step? Below is some code that doesn't work but tries to get what I want. data pass error; set person; call symput('criteria', condition); if not(&criteria.) then output error; else output pass; run;
... View more