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.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.