Date: Thu, 3 Jul 2008 11:35:45 -0400
Reply-To: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject: Re: Suppressing Log File
In-Reply-To: <200807031444.m63Alhx8017083@malibu.cc.uga.edu>
Content-Type: text/plain; charset=us-ascii
> From: SAS-L Anonymous
> Dear All:
> I am running a SAS Macro. The OS is XP Pro.
> It is a long run and the log file gets full. Is there a
> way to suppress
> SAS writing to the log file? Or is there a way to clear the log file
> automatically once it is full?
> Randy
eh, turn off all your macro statements generating options
options nomprint nomacrogen nosymbolgen;
etc.
by the way all those no-* options were the defaults
you are not, by chance, running a test in production mode?
you really do not want to do this:
options nonotes nosource nosource2;
but, rest assured when SAS decides to write an error message
it ignores all those options and writes it to the log anyway.
You load the cannon,
you aid the cannon at your foot
you ooops! the cannon
then your task is:
"Ah, which step generated this error?!"
better: deconstruct your program into modules and run each in batch
Ron Fehd the previously too clever at generating small logs programmer
or macro maven CDC Atlanta GA USA RJF2 at cdc dot gov