Thanks for your help! I set 'serious' as a local macro variable. There are three variable in the original dataset: PctSmokers, income, and age. Depending on PctSmokers, I'd want to see two divided results: serious smoker population vs moderate smoker population, by using %if %then macro statement. I think I need to use a function for numeric operand, not "upcase," and I'm figuring out what it is.
... View more