06-06-2013 03:10 AM
I have a Macro, which generates multiple when-clause for a select in a Data Step.
%let WhenVar = %GenerateWhen(...);
&WhenVar resolves then to something like
when (xy = "abc") output abc;
when (xy = "def") output def;
But when I try to use this Variable in my Data-Step Select Block, it says "Expecting "WHEN", "OTHERWISE", or "END"".
data abc def;
Need further help from the community? Please ask a new question.