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