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


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


Tips:Using REPLACE and REPEMPTY Together

From sasCommunity
Jump to: navigation, search
data advrpt.class(replace=yes repempty=no);
    set sashelp.class;
    * A typo makes this always false;
    where 12 < age > 25;
run;

You can prevent a data set from being replaced by an empty (0 observations) data set through the use of the REPEMPTY data set option. The REPLACE option can be used to prevent the replacement of a data set altogether.


Submitted By Art Carpenter

....see also