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 |
Which statement does not perform automatic conversions in comparisons?
What is substr function?
How to write duplicate records into a separate dataset using sort?
how to read raw data in sas. Do it manually and throw the programming.
CHOOSE ANY ONE OF THE PROCEDURE FOLLOWING TO GENERATE THE REPORTS? HOW CAN YOU SAY IT IS BETTER THAN THE OTHER? AND DEFERENCIATE THESE TWO ? 1). REPORT PROCEDURE 2). TABULATE PROCEDURE
What is the purpose of the trailing @? The @@? How would you use them?
what is the purpose of _error_? : Sas programming
why is the use of Retrive statement and give me with example?
Describe crosslist option in tables statement?
how does sas handle missing values in functions? : Sas programming
differnce between 8.2 and 9.1.3
What is the good sas programming practices for processing large data sets?