« Frequently Asked for Statistics | Main | SAS and MS SQL »

SAS Where statement v.s. If statement

SAS has provided a helpful comparison chart that shows when you should use the WHERE and IF statements in SAS datastep programming?

...if your subset condition includes automatic variables or new variables created within the DATA step, then you must use the IF statement instead of the WHERE statement.


Posted on Sunday, May 18, 2008 by Registered CommenterJared in | CommentsPost a Comment

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>