how we can call macros with in data step?
Answers were Sorted based on User's Feedback
Answer / kishore
%macroname;
this is way of calling macro but call symput/symget r used to create macro variable from data step variable/symget vice versa
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / ram pabba
%include statement can be used to call a macro within a
data setp.
or
call a macro with %macro-name (only if the) in the datasetp
(condition that this marco exists in the central location
where it is defiened).
Please anybody suggest if these are right answers.
| Is This Answer Correct ? | 0 Yes | 8 No |
What is interleaving in SAS?
what is function of retain statment
What is the purpose of the trailing and How would you use them?
what is the difference between SET and MERGE?
What is the difference Using & and && in the macro variables
What is SAS informats?
What is your favorite all time computer book? Why?
Explain append procedure?
how to perform paired t-test using Base/SAS & SAS/Stat?
what has been your most common programming mistake? : Sas programming
Have you ever linked SAS code, If so, describe the link and any required statements used to either process the code or the step itself?
what are the validation tools in sas?