Hi! I am trying to do a macro because I need a value for doing an array. proc sql ; select max(count(a,'#')) into :max from provisiones; %put &max; data test2 (drop=_: i); set b ; array a(%put &max;); when I do the proc sql it´s okey and it returns me a number but when I run the next code it says that ERROR 22-322: Syntax error, expecting one of the following: una constante entera, *. so my value in the proc sql doesn´t look like a constant. What can i do?? thanks in advance,
... View more