SAS: Where Also

This post was kindly contributed by AFHood Analytics Group - Blogs » SAS - go there to comment and to read the full post.

Ever heard of ‘where also’? Neither did we.

We have to give credit to the guys at the SAS Community.

‘Where also’ allows you to add a series of where statements. The use acts like a single where statement with the and condition.

Example:

Data new_data;

set old_data;

where number=6;

where also number=.;

run;

This post was kindly contributed by AFHood Analytics Group - Blogs » SAS - go there to comment and to read the full post.