[...] process by writing a macro, as was described recently on StackOverflow. Personally, I prefer to avoid using macros in SAS/IML programs when I have the option. An alternative is to write a program that reads data sets whose names are …