Super !! It works, i just changed it in a way i need it. Thanks a lot. %macro myprep(period,start_date); %put . %put &start_date; run; %mend myprep; data _null_; set cohort_table; Str= catt('%myprep(',12, ',',start_date, ');'); call execute(Str); run;
... View more