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
For clinical entire study how many tables will create approx?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?
What are types of transport files?
How to create a permanent sas data set?
What is the difference between nodupkey and nodup options?
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
how would you create multiple observations from a single observation? : Sas programming
How to limit decimal places for variable using proc means?
How would you include common or reuse to be processed along with your statements?
Give some examples where proc report’s defaults are different than proc print’s defaults?
where are dashboard components are created and maintained? : Sas-bi
In SAS explain which statement does not perform automatic conversions in comparisons?
what is sas database server? : Sas-di
Explain proc sort?