SAS programs are just text files so you can use your OS to do this more efficiently than SAS.
If you search on the appropriate forum you should find examples
https://askubuntu.com/questions/20414/find-and-replace-text-within-a-file-using-commands
Here is a likely related question you may have seen.
https://communities.sas.com/t5/SAS-Programming/Automate-a-code-using-SAS-macro/m-p/771326
@Shanthi123 wrote:
I have a bulk of sas programs i need to replace one word with other word in all the sas programs which are located in a folder it should search for the word in all sas programs and replace with the new word . Can someone help me on this?
That is something doable using a script . What is the OS?
In case you want to use SAS have a look here
https://support.sas.com/resources/papers/proceedings17/1136-2017.pdf
https://www.lexjansen.com/pharmasug/2006/TechnicalTechniques/TT04.pdf
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.