how we can call macros with in data step?
Answer Posted / learner
We have to use call execute to call a macro. For other
answers
1 &(amperson) is used to resolve the macrovariable and not
call macro .
2 Call symput is to define a macro variable dynamical in
data step. useful in data driven programs.
3 symget is to get the macro variable from symbol table and
not call a macro.
Hope it will help..would recomand to double check before
post ..al the best
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What are common programming errors committed in sas
Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya
How do you control the number of observations and/or variables read or written?
What Proc glm does?
why is sas considered self-documenting? : Sas programming
what is hash files in sas and why we are using this one in sas?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
what is the effect of the options statement errors=1? : Sas programming
How are numeric and character missing values represented internally?
Can you execute a macro within a macro? Describe. : sas-macro
What does PROC print, and PROC contents do?
what are sas bi dashboard components? : Sas-bi
How do you connect the desktop application to metadata server? : sas-grid-administration
If a variable contains only numbers, can it be a character data type?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro