03-12-2015 03:23 PM
I wrote a case statement
else 'priya & insurance '
But where & sql is asking for substitute any idea ? how to solve . instead of using priya and insurance . I want priya& insurance in code
03-12-2015 08:08 PM
Not sure what your question is. It helps to copy in the actual error message.
Perhaps you used "'priya&insurance" then SAS will try to resolve the macro variable reference to the macro variable INSURANCE.
If you enclose your string in single quotes then SAS will not try to evaluate macro triggers like & and %.