SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi!

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

Thanks
4 REPLIES 4
deleted_user
Not applicable
Not the answer that I am hoping for, but I guess I cannot do anything about it. Anyway, thanks a lot! 🙂
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
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.
deleted_user
Not applicable
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 😄

thanks

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 33120 views
  • 0 likes
  • 3 in conversation