Wednesday, October 13, 2010

A way to automatically clear the log and the output windows

Each time that the SAS code is executed, the new log is appended to the previous logs and so does the output. The log and output windows can be manually cleared. The easy way is to use the DM statement to clear them automatically each time the SAS code is executed:

dm 'log; clear; out; clear;';

5 comments: