how we can call macros with in data step?
Answer Posted / net_ameen
Call Execute() is used to call Macro aswellas call macro variable eg: Call execute ('%macroname');
Call execute ('¯ovarname');
Call Symput() is used to create a Global macro variable from within a datastep.
Symget() is used to call a macro variable and assign its value to a datastep variable.
%include() is not a macro statement yet used to call either a macro, extn file containing codes or proc/datastep within a program to be executed together.
Resolve() is used to resolve macro variables created thru call symput within same datastep.
Hope this helps. If any argument pls post.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the basic syntax of a sas program?
What are the applications primarily used by business analyst? : Sas-bi
explain the difference between proc means and proc summary?
explain the main difference between the nodup and nodupkey options? : Sas-administrator
Explain proc univariate?
How will you generate test data with no input data?
explain the function of substr in sas? : Sas-administrator
explain about sas business intelligence? : Sas-bi
List down the reasons for choosing sas over other data analytics tools.
for what purpose would you use the retain statement? : Sas programming
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
What is the general format of function in sas? : sas-grid-administration
what are _numeric_ and _character_ and what do they do? : Sas programming
What versions of SAS have you used (on which platforms)?
What is the role of unrestrictive users? : sas-grid-administration