Hi Thanks all. Actually, I am still getting an issue. Will it make a difference if the value of b is actually getting calcaulted within a data step of another macro. I am also calling the the original macro from within this data step. So, effectively I have .. %macro calc_val(x,y); %if &x < &y %then <expression 1>; %else <expression 2>; %mend calc_val; %macro mac_1(w); data qwer; .... b = &w; %calc_val(32.5, b) run; %mend mac_1; /* initiate macros */ %let c = 23.5; %mac_1(&c) ???
... View more