> do i=1 to i<=14;
> x=i;
> call symput('j',x);
> if
> /*blablablabla*/
> then Exp&j=Price;
>
> i=i+1;
> end;
>
> I get the error message:
> (for the Exp&j=Price statement I have used.)
> ERROR 180-322: Statement is not valid or it is used
> out of proper order.
apart from anything else, you don't know how to use macro variables in a data step
> call symput('j',x);
> if
> /*blablablabla*/
> then Exp&j=Price;
&j gets the compile-time value, not the run time value
Until you appreciate this, avoid call symput()