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
Give e an example of..
I have a dataset concat having variable a b & c. How to rename a b to e & f?
How can I remove header from output data set?
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
If you could design your ideal job, what would it look like?
What are the parameters of scan function?
Mention common programming errors committed in sas ?
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
what is the purpose of _error_? : Sas programming
If a variable contains letters or special characters, can it be numeric data type?
Which command is used to save logs in the external file?
Describe the ways in which you can create macro variables?
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
What are the data types in sas?
Describe crosslist option in tables statement?