NOTE: DATA statement used (Total process time): real time 0.01 seconds cpu time 0.00 seconds NOTE: Line generated by the macro function "SUPERQ". 163 '1','5','13' _ 386 76 ERROR 386-185: Expecting an arithmetic expression.ERROR 76-322: Syntax error, statement will be ignored. Do ...
As is usually the case in SAS, there may be multiple ways to achieve each of these goals, but frequently an efficient, reproducible method will involve interface between the DATA step and the Macro facility. In this paper, I am going to introduce a CALL routine and a SAS function that ...
Besides CALL SYMPUT, other features of themacro facility that are demonstrated include the construction of macro variable names through concatenation, thedouble ampersand, the %DO loop, the %GOTO statement and statement label, and the implicit %EVAL function.Yunchao...
NOTE: Invalid argument to function SYMPUT('2','157') at line 28 column 6.cohort=trial cnnt=157 _ERROR_=1 _N_=2 data _null_;set cntt;call symput(strip(cohort), strip(count));run; Obs cohort count 1 flatiron 1572 trial 157 0 Likes Reply 2 REPLIES Rick_SA...
select record_count into :record_count from function_call order by row_num;run; %do i=1 %to &max_size. %by 1;call symput('scenario_us',trim(scenarios[&i]));%put ETL-NOTE: scenario_us = &scenario_us;run;%end; 0 Likes Reply Tom Super User Re: Passing multiple iterations ...
NOTE: Invalid argument to function SYMPUT('2','157') at line 28 column 6.cohort=trial cnnt=157 _ERROR_=1 _N_=2 data _null_;set cntt;call symput(strip(cohort), strip(count));run; Obs cohort count 1 flatiron 1572 trial 157 0 Likes Reply 2 REPLIES Rick_...