Sentry Page Protection
Programming Tips 9
Can you use IF statement to subset the data set instead?
The IF statement and WHERE statements have the same functionality. They both subset a data set.
However, the IF statement can only be used in Data Step.
In Proc Step (such as Proc Sort, Proc Freq, Proc Reg ...), you must use the WHERE statement.