Help using Base SAS procedures

Hide specific SAS notes in the LOG

Reply
Frequent Contributor
Posts: 127

Hide specific SAS notes in the LOG

Hello,

I would like to know if it's possible to hide the following notes (a data step or a global option would be great) from the LOG file ?

NOTE: Division by zero detected at line 21664 column 50.
NOTE: Division by zero detected at line 21665 column 70.

It's a lot of work to add checks on the denominator's value in the whole application. As it's not dealing with a lot of data, it's not a big problem if it slows down the process. So hiding these notes would be cool Smiley Happy

Thank you for your help,

Florent.
SAS Super FREQ
Posts: 8,864

Re: Hide specific SAS notes in the LOG

Hi:
This one's for you!
http://support.sas.com/kb/19/965.html

The DIVIDE function can be used to do a division and you do NOT get any messages when you use it. That's pretty cool, too. If you could change to the DIVIDE function, you wouldn't have to hide them because they won't BE there.

cynthia
Frequent Contributor
Posts: 127

Re: Hide specific SAS notes in the LOG

Posted in reply to Cynthia_sas
Thanks a lot Cynthia.
Ask a Question
Discussion stats
  • 2 replies
  • 155 views
  • 0 likes
  • 2 in conversation