i cant make this work and it's very urgent, please help!
this is the log :
ERROR: A character operand was found in the %EVAL function or %IF condition where a numeric
operand is required. The condition was: &NOBSI
ERROR: The %TO value of the %DO I loop is invalid.
ERROR: The macro ADJUST will stop executing.
This is the code:
set list1 nobs=nobs;
call symputn ('NOBSI',nobs);
%do I=1 %TO &NOBSI;
%mend; /*end of macro*/
/* here I create a datastep in order to be able to use symget