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 |
how can you import .csv file in to sas? : Sas programming
What system options would you use to help debug a macro? : sas-macro
What is the differnce between SDTM 3.1.2 to 3.1.1 version
what are the component of range? : Sas-bi
How to convert a given date value into SAS date
9 Answers CitiGroup, Quintiles,
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
Name and describe few sas character functions that are used for data cleaning in brief.
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable?
what is snowflake schema? : Sas-di
What are the statements that are executed only?
Why is SAS considered self-documenting?
Does anybody has SAS Platform Administration certification dumps. pls send to hariithepalli@gmail.com