s***@gmail.com
2007-06-01 16:21:24 UTC
Dear SAS Gurus,
I need some help here.
i have a proc sql as follows,
%let imp = a;
proc sql;
create table temp as
select case when &imp = a then x + 1
else x
end as y
from temp1;
quit;
my question here is I have this whole code in a macro. Some times the
imp variable resolves to a some times not.
when it resolves to a it is not working. It says a variable does not
exist.
what should i modify in proc sql to make it work.
thanks
I need some help here.
i have a proc sql as follows,
%let imp = a;
proc sql;
create table temp as
select case when &imp = a then x + 1
else x
end as y
from temp1;
quit;
my question here is I have this whole code in a macro. Some times the
imp variable resolves to a some times not.
when it resolves to a it is not working. It says a variable does not
exist.
what should i modify in proc sql to make it work.
thanks