SAS Tip of the Month
Did you know that the IN operator can use ranges of values? Here is an example:
if mcode in(1,2,3,4,7,8,9,11) then do;
but this can be shortened to
if mcode in(1:4,7:9,11) then do;
It does save a bit of time on coding.
Hope this is useful. See you next month.
Updated June 2, 2014