Hi All,
I'm trying to create a output file that is created in a null datastep via a series of put statements.
Resolving macro variables in some areas is fine, however, the following part i cannot get to resolve either side of the = sign:
where c1 = 1
outstring='<Testing1 &c1.="'||strip(&c1.)||'"/>';
put outstring;
this resolves to:
<Testing1 &c1.="1"/>
changing the single quotes to double quotes simply reverses the macro variables above that resolve and that dont.
Is there any way to get both instances of the macro variable to resolve?
Thanks,
Rob.
I'm trying to create a output file that is created in a null datastep via a series of put statements.
Resolving macro variables in some areas is fine, however, the following part i cannot get to resolve either side of the = sign:
where c1 = 1
outstring='<Testing1 &c1.="'||strip(&c1.)||'"/>';
put outstring;
this resolves to:
<Testing1 &c1.="1"/>
changing the single quotes to double quotes simply reverses the macro variables above that resolve and that dont.
Is there any way to get both instances of the macro variable to resolve?
Thanks,
Rob.