how we can call macros with in data step?
Answer Posted / payal
Use callsymput in data step.
EX:
Data _null_;
set group;
call symput('_grpname',group name);
run;
Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
What are the features of base sas system?
how can you put a "trace" in your program? : Sas programming
Which command is used to perform sorting in sas program?
What is the difference between %local and %global? : sas-macro
what is the difference between infile and input? : Sas-administrator
what is sas and what are the functions? : Sas-administrator
What is the use of stop statement?
What is the role of sas grid administrator? : sas-grid-administration
explain the concepts and capabilities of business object? : Sas-bi
what are sas bi dashboard components? : Sas-bi
What is the maximum length of the macro variable? : sas-macro
What do the PUT and INPUT functions do?
Define run-group processing?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
Explain the difference between informat and format with an example.