LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (July 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 8 Jul 2008 15:23:24 -0400
Reply-To:     "Long, Stuart (NIH/NIEHS) [C]" <long3@NIEHS.NIH.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Long, Stuart (NIH/NIEHS) [C]" <long3@NIEHS.NIH.GOV>
Subject:      Re: delete the log file when it is too long
Comments: To: domenico <stataDat@GMAIL.COM>
In-Reply-To:  A<42894ee4-f78f-4dca-b1a4-91dd0065ce7a@d1g2000hsg.googlegroups.com>
Content-Type: text/plain; charset="US-ASCII"

Hi Domenico:

Although I would not recommend it for most executions of SAS code, on occasion you may want to see certain parts of the SAS Log, while suppressing other parts. To do this, I use:

PROC RUNSOMETHING; RUN;

OPTION NONOTES;

PROC WHATEVER; RUN;

OPTION NOTES.

PROC MORESTUFF; RUN;

The SAS Log will genereate notes for the execution of RUNSOMETHING and MORESTUFF, but not for WHATEVER. Embed any procedures, or your entire program, within OPTION NONOTES and OPTION NOTES when you want to avoid looking at extraneous notes in the SAS Log.

Stuart Long Contractor Westat Senior Analyst 919-941-8307

-----Original Message----- From: domenico [mailto:stataDat@GMAIL.COM] Sent: Tuesday, July 08, 2008 6:32 AM To: SAS-L@LISTSERV.UGA.EDU Subject: delete the log file when it is too long

I wrote a macro (% do %while + proc iml with 10,000 cycles) that works properly, but after a large number of cycles get a message asking me to delete or save the log because it is too long. Then I select the option "delete the log" and the macro continues to operate. I am not interested in the log because I am already sure that the macro works. How do I avoid this message? In practice I would not write the log file. I tried to run the macro closing the log file, but I get the message anyway.

Thanks to all newsgroups, I am a beginner but thanks your suggestions I was able to write a file sas in a few days :-)

domenico


Back to: Top of message | Previous page | Main SAS-L page