Hello, I have a program that runs a macro within a macro. I have a do loop that executes and gives a variable, awvar, to plug into the macro. The macro then is trying to compare two files from consecutive years, and so merges the two years, but relabels one variable set so that they are not overwritten. However, no matter what the variable is after the variable awvar the log reports the error "Expecting a =." and the refuses to execute the rest of the rename statement. Has this ever happened to anyone else? It doesn't make any sense becuase when I enter the variables manually, the code runs fine. An example of what I am trying to say is attached. This is SAS version 9.3. Thank you so much!
... View more