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 cummaltive frequency,and varience in proc unviarte
What does a PROC TRANSPOSE do?
Where do you use proc means over proc freq?
i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?
How we will Developing new reports Using Data step programming and Macros ?
What is the difference between an informat and a format. Name three informats or formats.
How to test the debugging in sas?
How to get second top scorer student from a class- table having different sections A, B, C & D? each section has same number of student.
Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables?
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
what has been your most common programming mistake? : Sas programming
How are numeric and character missing values represented internally?