![The SELECT statement in the SAS DATA step Flow chart diagram for a switch statement (SELECT statement)](https://blogs.sas.com/content/iml/files/2016/06/selectwhen.png)
Every beginning SAS programmer learns the simple IF-THEN/ELSE statement for conditional processing in the SAS DATA step. The basic If-THEN statement handles two cases: if a condition is true, the program does one thing, otherwise the program does something else. Of course, you can handle more cases by using multiple