SELECT construct is used instead of IF statements - SAS
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.
|
How to code a merge? - SASStep 1: Define three datasets in DATA step, Assign values of IN statement to different variables for two datasets.......