hi all:
Has anyone got a macro which can automatically check SAS log file
Thank you
purple
Check for what?
If you're using Studio or EG it provides a summary of errors that you can navigate?
Otherwise, you can search lexjansen for already pre-written log parsers.
https://www.lexjansen.com/search/searchresults.php?q=log%20parser
@purpleclothlady wrote:
hi all:
Has anyone got a macro which can automatically check SAS log file
Thank you
purple
Hi Reeza:
I use window SAS, thank you for this as a backup plan .
Purple
Hi all and Irackley:
Thanks so much for quick reply and support.
https://support.sas.com/resources/papers/proceedings17/1173-2017.pdf
I found the same source and tested by adding some texts onto my log, and it works correctly and easily. eg
index(upcase(line), "reemerged") or
index(upcase(line), "repeats") or
/****This will check all logs within folder --temp***/
%checklogs
(loc=C:\ temp\LOG) ;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.