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
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
what are 5 ways to perform a table lookup in sas? : Sas-administrator
What are the data types in sas?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
how many display types available in sas bi dashboard? : Sas-bi
where to use sas business intelligence? : Sas-bi
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
what are informats in sas? : Sas-administrator
how can you import .csv file in to sas? : Sas programming
How we can call macros with in data step? : sas-macro
Mention sas system options to debug sas macros.
What is a pdv and what are its functions?
how does sas handle missing values in procs? : Sas programming
Are you involved in writing the inferential analysis plan? Tables specifications?
Difference between sum function and using “+” operator?