I am trying to run Odds Ratios on 11 different outcomes with 64 variables. I got my macro working, but the problem is that some of the variables I would like to have a different reference value for. Ex. variable sex (ref='m') or variable race (ref='white')....anyways I made a macro for the references that match in order the variables. When I run it, the macro tries to reference each variable 64 times, rather than just once and then move on to the next. Take a look at my code....any help?