Hey Sonny,
Jaroslav is right!!!. the && would solve your problem.
example::
%let fruit1=Apple;
%let fruit2=Orange;
%let fruit3=Banana;
%let n=2;
proc means data=fruits;
title "Sales for fruit: &§ion&n";
where section="&§ion&n";
var saleprice;
run;
After macro variable resolution, the preceding program becomes:
proc means data=fruits;
title "Sales for fruit: Orange";
where section="Orange";
var saleprice;
run;
There are certain rules that macro processor follows to resolve macro variable references that contain multiple ampersands
> Macro variable references are resolved from left to right.
> Two ampersands (&&) resolve to one ampersand (&).
> Multiple leading ampersands cause the macro processor to rescan the reference
until no more ampersands can be resolved.
You can take advantage of these rules to create new macro variable
references.
Hope that helps 🙂