DATA Step, Macro, Functions and more

Suppress WARNING Messages in SAS Log

Reply
N/A
Posts: 0

Suppress WARNING Messages in SAS Log

Hi!

I would just like to ask if there is an option in SAS to suppress the WARNING messages in the LOG?

Thanks
Trusted Advisor
Posts: 2,116

Re: Suppress WARNING Messages in SAS Log

Posted in reply to deleted_user
N/A
Posts: 0

Re: Suppress WARNING Messages in SAS Log

Not the answer that I am hoping for, but I guess I cannot do anything about it. Anyway, thanks a lot! Smiley Happy
Super Contributor
Super Contributor
Posts: 3,174

Re: Suppress WARNING Messages in SAS Log

Posted in reply to deleted_user
Share with us some of the SAS log warning messages you want to suppress, along with the related SAS code that causes them. It may be possible to "treat the problem rather than the symptom" in this situation.

Scott Barry
SBBWorks, Inc.
N/A
Posts: 0

Re: Suppress WARNING Messages in SAS Log

hi sbb!

my problem was because of some unresolved macro variables in the program. the code was building an xml to update the metadata. anyway, there are macro variables that were not yet replaced by the real-values until the file it's creating is complete. in short, the unresolved parameter in the warning message is an expected behavior.

from the sas note above, i just used the NOSERROR which is just what I need. it did not display the warning messages anymore Smiley Very Happy

thanks
Ask a Question
Discussion stats
  • 4 replies
  • 7953 views
  • 0 likes
  • 3 in conversation