SAS ENTERPRISE GUIDE - IF STATEMENT

hi
I would like to creaet a new column with if statement. If Address1 = Address2 then "True" else "False".
May I know how to do this using SAS enterprise guide.
thanks
premkripalaniAsked:
Who is Participating?
 
Aloysius LowConnect With a Mentor Commented:
use the case statement in the filter and query node

you'll need to create a new variable and input the following expression:
case when address1 = address2 then "True" else "False" end
0
 
premkripalaniAuthor Commented:
Thanks a lot,
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.