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?
Thank you in advance.
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 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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.