Does someone know a way to reduce the number of entries. I mainly use the log to find error messages, so all the other stuff is a nuisance.
There are some options in EG to reduce the log "clutter". See this article:
SAS logs in Enterprise Guide: Where's the beef? - The SAS Dummy
Chris
You can use Global option "NONOTES".
Options Nonotes.
Regards,
Sanjeev.K
Even if you not satisfied with NONOTES,
You can use nosource option.it will suppress the listing of the SAS statements to the log.
and if you want to control the number of error displaying in log,
You can Use Options Error=5 (it displays maximum Five Errors).
Hope you found everything now.
Lets Start your Coding ..!!!!!!!!!!!!!!!
Best Regards,
Sanjeev.K
There are some options in EG to reduce the log "clutter". See this article:
SAS logs in Enterprise Guide: Where's the beef? - The SAS Dummy
Chris
Hi,
Try to some more options - including macro and system (hardware related) to decrease the size of your log.
NOMPRINT -Removes SAS statements that are generated by macro execution
ERROR=1 -Minimize the number of error to be shown in log to one by default it is 20
NOECHOAUTO -No autoexec code in Log
MSGLEVEL - Set to N - It will display notes, warning and errors in log
MSGLEVEL - Set to I - It will display additional notes like index, merge, sort utility and all
NONOTES - Suppress the notes in log
NOSOURCE /NOSOURCE2 - Supress the primary and secondary source information in SAS log
NODTRESET - Suppress the date and time in the SAS Log
NOWARNING - Suppress the warning messages in the SAS Log
you can try more options like : NOMTRACE, NOMLOGIC, NOMACROGEN, NOSYMBOLGEN, NOCPUID, NOECHOAUTO,NOOVP, Pageno=min
you can also try to run Proc options first the search for all the options which are containig log and try to use NO with that options (use only if exists)
Kindly use as per your convenient because use of every options suppressess the different things in log.
Regards
Uma Shanker Saini
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.