Desktop productivity for business analysts and programmers

Reduce entries in log

Accepted Solution Solved
Reply
New Contributor
Posts: 3
Accepted Solution

Reduce entries in log

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.


Accepted Solutions
Solution
‎09-26-2013 09:04 AM
Community Manager
Posts: 2,696

Re: Reduce entries in log

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

View solution in original post


All Replies
Super Contributor
Posts: 276

Re: Reduce entries in log

You can use Global option "NONOTES".

Options Nonotes.

Regards,

Sanjeev.K

Super Contributor
Posts: 276

Re: Reduce entries in log

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

Solution
‎09-26-2013 09:04 AM
Community Manager
Posts: 2,696

Re: Reduce entries in log

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

Frequent Contributor
Posts: 113

Re: Reduce entries in log

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

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 636 views
  • 10 likes
  • 4 in conversation