of the Month
This month is a short, but powerful tip.
The two common ways to comment out SAS code is to use either
* SAS Code;or
/* SAS Code */
The /**/ method cannot be nested, i.e. a pair of '/**/' cannot be nested inside another '/**/'.
One way to get around this is to create a dummy macro that is not envoked within your code, for example:
data test1; set test0; * Some SAS statements; run; %macro SKIP; * SAS Code; %mend SKIP; proc print data=test1; run;
The code inside the SKIP macro will not be run.
Have a safe and happy March.
Updated March 01, 2013