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

The Boston Area SAS Users Group is hosting free webinars!
Next up: Joe Madden & Joseph Henry present Putting Power into the Hands of the Programmer with SAS Viya Workbench on Wednesday Nov 6.
Register now at https://www.basug.org/events.
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!

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1270 views
  • 1 like
  • 4 in conversation