BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
vfarmak
Quartz | Level 8

Hello SAS Community!

 

Is there a way in which I could parse and read sas logs and retrieve the information that SAS DI illustrates in the picture below?

vfarmak_0-1717427786673.png

Thank you in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions
SASJedi
Ammonite | Level 13

CHeck out the LOGPARSE macro provided by SAS. This paper does a nice job of directing you to the ZIP file download and showing how to use it:
219-30: Programmatically Measure SAS® Application Performance on Any Computer Platform with the New ...

However, the ZIP file link isn't available anymore, so I'm providing a link to download it from my GitHub:
https://github.com/SASJedi/misc_files/raw/main/logparse.zip

 

Check out my Jedi SAS Tricks for SAS Users

View solution in original post

2 REPLIES 2
SASJedi
Ammonite | Level 13

CHeck out the LOGPARSE macro provided by SAS. This paper does a nice job of directing you to the ZIP file download and showing how to use it:
219-30: Programmatically Measure SAS® Application Performance on Any Computer Platform with the New ...

However, the ZIP file link isn't available anymore, so I'm providing a link to download it from my GitHub:
https://github.com/SASJedi/misc_files/raw/main/logparse.zip

 

Check out my Jedi SAS Tricks for SAS Users
yabwon
Amethyst | Level 16

Check out this article by Phill Mason: https://www.pharmasug.org/proceedings/2024/DS/PharmaSUG-2024-DS-109.pdf

also visit his GitHub:

https://github.com/philipmason/Wood-Street-Consultants/tree/main/Log%20Analysis

for code.

 

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



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

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
  • 2 replies
  • 1269 views
  • 5 likes
  • 3 in conversation