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 to intersect the tables by using PROC MIXED?
. Which date advances a date, time or date/time value by a given interval?
What is the difference between match merge and one to one merge?
Do you use PROC REPORT or PROC TABULATE? Which do you prefer? Explain.
Can you explain the process of calendar?
how can you put a "trace" in your program? : Sas programming
One way of creating a new variable in Macros is by % Let....What is the other way..?
i have a null dataset with 20 variables. i want to upload the variables which contain name like a or k or anything in another dataset.how can we create the dataset?
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
what is the need of INDEX in datasets?
How would you determine the number of missing or nonmissing values in computations?
What function CATX syntax does?