- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I have very large program and loops in my code, which creating very large log.
so, i am keep getting message that log is full.
i does not need log after my execution.
how, i can completely turn off log generation ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
PROC PRINTTO will turn off the log being sent to the LOG window.
You can use it to store the log as a text file outside of SAS so that it doesn't appear in the log window; or write the log to a DUMMY file, so the log no longer appears in the log window and isn't saved anywhere.
Examples are here:
Alternatively
options nosource nonotes;
/* Your SAS program goes here */
options source notes;
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
You can eliminate many lines of being written to log by options:
options nosource nosource2 nomprint nosymbolgen nomlogic errors=1;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
How would you know if your SAS program had any errors then? If you run your program in batch mode there is no limitation on log size and your program would probably run faster as well.