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 Proc glm does?
What versions of SAS have you used (on which platforms)?
How would you determine how far down on a page you have printed in order to print out footnotes?
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
List down the reasons for choosing sas over other data analytics tools.
what kind of variables are collected in AE dataset?
3 Answers Accenture, Quintiles, SAS,
What is the purpose of the trailing and How would you use them?
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
Code a PROC MEANS that shows both summed and averaged output of the data.
How do you add a number to a macro variable? : sas-macro
What are _numeric_ and _character_ and what do they do?
What is the function of output statement in a SAS Program?