Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LOG and OUTPUT window full 1

Status
Not open for further replies.

Medvedeff

Instructor
Feb 12, 2008
29
US
I am running a pretty large program. I am running into a problem where the log and output window fill up, and the program pauses until I manually instruct SAS on what to do.

How can I set SAS to automatically clear the log and output windows then they fill up?

Thanks!
 
You could turn of the output window.
ODS LISTING CLOSE.

You shouldn't turn off your LOG totally so redirect the log to a text file.

Code:
proc printto log="c:\yourfilename.log";
run;

....
*** RESET THE LOG OUTPUT BACK TO THE WINDOW ***;
proc printto;
run;

*** RESET THE OUTPUT WINDOW ***;
ODS LISTING;

Klaz
 
Just come across this one!

You could alternatively try writing the following code at strategic parts of your program:
DM 'Clear log' ;
DM 'Clear Out' ;

Say, after each instance of writing something to the output - proc report/tabulate/print etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top