05-13-2016 04:35 PM
I have a question about defining macro. I included input file 1, input file 2, and year in a macro. When I ran the macro, it always showed a error that Macro function %INDEX has too many arguments. If I cut this macro into several piece macros, there would no problem to run each of those macros. Here is my macro. Thanks so much in advance for your help!
if ...(some conditions here)...
then interest = 1;
create table finder&yy as
select distinct id
proc sort data=&in2;
if a and b;
if (year(DEATH_DT)~=&yy and MONS=12)or (year(DEATH_DT)=&yy and MONS=month(DEATH_DT) )
Need further help from the community? Please ask a new question.