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