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
If a variable contains only numbers, can it be a character data type?
what do the pad and dim functions do? : Sas programming
what are some good sas programming practices for processing very large data sets? : Sas programming
What are the features of base sas system?
how does sas handle missing values in functions? : Sas programming
What is your favorite all time computer book? Why?
why is sas considered self-documenting? : Sas programming
Explain the main difference between the sas procedures and functions? : Sas-administrator
What is by-group processing?
How will you generate test data with no input data?
What are the special input delimiters used in SAS?
Given an unsorted data set, how to read the last observation to a new data set?
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming
what is business intelligence? : Sas-bi
What do the PUT and INPUT functions do?