SELECT construct is used instead of IF statements- When there is a long series of mutually existing conditions - And comparison is numeric - Because the CPU time is reduced by using SELECT.SELECT GROUP:Select: Beginning of the SELECT GROUP. When: Identifies SAS statements meant for execution when a condition is true Otherwise (optional): A statement is specified if no WHEN condition is met. End: Ends a SELECT group.
|