Instead of commenting in and out large blocks of code when developing, I am looking for an equivalent to the stop
statement outside a data step which stops a SAS script at a certain point, ideally without throwing an error, nor setting brackets, nor defining own macros. All I found as minimal workaround is something like the following:
%put --- This is code I would like to execute;
data _null_;
abort cancel file;
run;
%put --- This is code which should temporarily disabled;
Is there a shorter or cleaner solution (in terms of log-output) how to stop executing a SAS script without quitting SAS altogether?
Related questions
- Ending a SAS-Stored process properly inspired my example code.
- break/exit script is about a slightly different problem