BookmarkSubscribeRSS Feed
Florent
Quartz | Level 8
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 🙂

Thank you for your help,

Florent.
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
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
Florent
Quartz | Level 8
Thanks a lot Cynthia.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 1220 views
  • 0 likes
  • 2 in conversation