Hello, I need some help. I'm trying to get the values generated by a dynamically populated prompt with multiple values, I'm using a macro but there is an error that I can't figure out: _______
22
ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, -, /, <, <=, <>, =, >, ><, >=, AND, EQ, GE, GT, IN,
LE, LT, MAX, MIN, NE, NG, NL, NOTIN, OR, ^=, |, ||, ~=. The code is: %let Fechas = &Period;
%macro obten_fecha ();
data lista_fechas;
format fmt_val DATE9.;
%do i=1 %to %sysfunc(countw("&Fechas."));
fmt_val = %scan((&Fechas.),&i);
output;
%end;
run;
%mend;
%obten_fecha; Any help?
... View more