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
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.