Joe ,
Given the poster want to eliminate the log it is as simple as: options
nonotes nomprint nosource nosource2;
But again that I dont think the log file being too big is the problem. I
have written programs that produced enough volume of output to fill up two
of the boxs printer paper comes in and the log wasnt but a few pages long.
Even in the years of my macroitise I never had a log that was so huge I was
tempted to trash it or turn it off.
Toby Dunn
From: Joe Whitehurst <***@BELLSOUTH.NET>
Reply-To: ***@BELLSOUTH.NET
To: SAS-***@LISTSERV.UGA.EDU
Subject: Re: How to Suppress SAS Log
Date: Wed, 17 May 2006 11:34:49 -0400
Sri,
To get some immediate relief for your "symptom", you can redirect the log to
a file that you can discard. There are several ways to do this. One way
would be to insert a PROC PRINTTO LOG=PATH\FILENAME at the beginning of the
job and a null PROC PRINTTO at the end of the job to close the log file
which you then could delete. Since I'm aware of the job, I'm prompted to
remind everyone not to overgeneralize from limited experience.
Joe
Date: 2006/05/17 Wed AM 10:40:23 EDT
Subject: Re: How to Suppress SAS Log
Sri ,
This is ussually a indication that what you are doing is inefficiently
written. Such as a macro that runs a bunch of proc regs subsetting the
data
for each pass through the macro and/or you also have the options mprint
mlogic and symbolgen turned on. I have yet to have the problem that my
log
is getting to big. So instead of attacking a symptom of your problem
write
back to the list and tell us what you are doing in your code that is
causing
you to get such large logs and we can help you come up with a cure for
your
problem and not a symptom.
Toby Dunn
Subject: How to Suppress SAS Log
Date: Wed, 17 May 2006 07:18:37 -0700
All,
I have a long running SAS program that generates a lot of sas log
information in a windows environment. I wanted to find out if there is
a way to suppress the logging or if i could redirect the output the log
to a dummy device.
e.g. redirecting to a /den/null on unix platforms.
Thanks for your help!