data freq;;
input placebo ;
cards;
3
;
Run;
data freqt;
set freq;
%macro freq1 (arm=,pct=,result=);
%if &arm ne . %then &pct=&arm*100;
%if &pct ne . %then %do;
%if &pct le 10 %then &result = "test";
%end;
%mend freq1;
%freq1(arm=placebo,pct=pct_pla,result=placebo_);
run;
Above data step macro If then conditions are not working but normal condition is working but don't need normal condition. Would like use only macro condition. Please help me.
Thank you...
options mprint mlogic;and you should be able to see what the error is. - david25272