BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
amsbam1
Calcite | Level 5

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.

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

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

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

View solution in original post

4 REPLIES 4
kuridisanjeev
Quartz | Level 8

You can use Global option "NONOTES".

Options Nonotes.

Regards,

Sanjeev.K

kuridisanjeev
Quartz | Level 8

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

ChrisHemedinger
Community Manager

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

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
umashankersaini
Quartz | Level 8

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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 10678 views
  • 11 likes
  • 4 in conversation