how we can call macros with in data step?
Answer Posted / selvi
We can call macro in a dataset by preceding % with macro
name.
call symput - used to create macro variable in data step.
symget - used to assign value of macro variable to data
step variable.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What does the trace option do?
: and & modifiers.
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?
How would you define the end of a macro? : sas-macro
how to do user inputs and command line arguments in sas?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
What is maximum storage capability of SAS?
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?
Why double trailing @@ is used in input statement?
What is proc sort?
What is a macro routine?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?