As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Tip of the Day:December 20

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

As part of the decommissioning effort for this article/tip has been migrated to

The new home for this article/tip is December 20 (

You can use an ALSO operator in a WHERE statement (or function). Use a series of WHERE statements instead of a single statement. The condition clauses are combined as if you wrote a single WHERE statement with the condition clauses ANDed together. For example,

proc print data = sashelp.class;
 Title 'Teenage Boys';
 where Sex = 'M';
 where also Age > 12;

produces the same output that the following WHERE statement would.

where Sex = 'M' and Age > 12;
Submitted By Don Henderson

Feel free to comment on this tip.

Prior tip - Next tip - Random Tip

Submit a Tip