PC-Clear listing and logging displays
SAS executing on the P/C saves the log and listings created during the entire session. This sometimes has its advantages but scanning these large logs and listings also has limitations. I am usual only interested in the log and listings from the code that was just submitted. I created a macro to clear the listing and log file. I include this macro at the start of each code module. I created this macro to use P/C SAS like batch.
The RES macro clears the SAS listing and logging displays.
%MACRO RES ; DM 'LST;CLEAR;LOG;CLEAR;' ; %MEND RES ; The same function is accomplished if you only include the DM statement from the RES macro.