BookmarkSubscribeRSS Feed
whijazi
Calcite | Level 5

g

Hello All,

I would like to auotmate the review of Log files. I have a bunch of Log files and I would like to create SAS code that would comb through them and produce an output that would contain all Lines that contain errors or warning and if it does it would produce a message stating that there are no errors or warnings. Any ideas?

thanks,

Will

5 REPLIES 5
ballardw
Super User

You can search the forum as this topic comes up periodically.

Also, please post a topic in only one part of the forum. If it fits better someone will suggest or move the post for you sometimes.

whijazi
Calcite | Level 5

Sorry about that, I am new to the forum, and to programming in fact. I posted the question under the procedure section and I got back a forbidden message and I thought that I had to post it in the communities section. I tried to search the forum but I might have been searching in the wrong section. I'll try again. thank you for your help and support while I learn how to navigate this forum. 

Quentin
Super User

If you go to lexjansen.com you can search for papers written by other SAS users.  My favorite log checking paper is this one:

http://www.lexjansen.com/nesug/nesug01/cc/cc4008.pdf

whijazi
Calcite | Level 5

Thank you for the source! Ill review the article, but from the title it sounds to be exactly what I need!

kaji
Fluorite | Level 6

Hi,

 

I found a pretty cool add-in to Base SAS on www.tatesoft.com that may be very usefull to you. The tool called Log Analyser is integrated into Base SAS and can produce Log summary report in a second. You may also analyse log in details if you wish. Really great tool!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 5 replies
  • 1729 views
  • 1 like
  • 4 in conversation