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 |
Name statements that are execution only.
What are the main differences between sas versions 8.2, 9.0, 9.1?
What is shift table? have you ever created shift that?
2 Answers Accenture, Clinical Research, Quintiles,
What are the analysis datasets created, and what are the new variables created in CLINICAL SAS
1 Answers Accenture, Sciformix,
What Proc glm does?
how can you get the single data set from the library(which has the number of data sets)?
3 Answers Accenture, Deloitte,
Give an example where SAS fails to convert character value to numeric value automatically?
How to get part of string form the source string without using sub string function in SAS?
How do you add a number to a macro variable? : sas-macro
What is difference between Global n Local Macro Variables..?
What is the difference between one to one merge and match merge? Give an example.
What is the difference between SAS functions and procedures?