*Copyright @ www.mycsg.in;


Conditional processing in a DATA step

Create a new variable based on the values present in another variable using IF THEN ELSE

Create two new variables based on the values present in another variable using IF THEN DO

Create a new variable based on the values present in another variable using SELECT WHEN

Create two new variables based on the values present in another variable using SELECT WHEN DO

Key points to remember