Hello SAS Community, I have dozens and dozens of variables that are named _2001_count, _2002_count, 2003_count, _2004_count, etc that I would like to rename to something like count_2001, count_2002, count_2003 etc. so I can work with them more easily. I don't want to have to type them all out each time I need to manipulate a variable and want them renamed so I can easily make variable lists. I have read several posts including https://communities.sas.com/t5/SAS-Programming/Rename-all-variables-starting-with-the-same-preffix-to-a/td-p/611152, but my situation is slightly different. I am using base SAS 9.4. Thank you for any help!
... View more