Hi All,
I would like to see if there is a way to search for string across all programs in a directory. For example let say there is a directory XYZ which stores all the SAS programs and I want to search weather string 'ABC' is present in any of the of SAS programs in this directory. Is there a way to do it ? Any help is appreciated.
If your SAS server runs on UNIX, log on to it with ssh, navigate to the directory, and run
grep -i abc *.sas
Thank you. I should have mentioned this is on Windows.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.