Hi Guys,
Just wanted to check is there is fastest way to list down all the sas datasets name from number of logs stored in log directory.
My task is to find datasets name from thousand of sas logs.
Any one has sas prog to do the same teask?
Regards
Japs
It seems you'd better write shell scripting codes to capture these file names.
Can anyone share the shell script?
You want to scan SAS logs and see what dataset names were used?
You can get a pretty good hit rated by just searching for the NOTE lines that SAS normally writes.
Start with this and perhaps fine tune it more as you see what messages it finds.
grep '^NOTE:.* data set ' *.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.