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 the difference between proportion and average?
What are the statements that are executed only?
I need to find the numeric field which contains blank in between..Ex:123 456...there is blank in between the 123 456..I need to know if there is any SAS function to find a field.. Please suggest...
what r the job openings SAS for fresher graduates !
What are the advantages of using sas?
What are the scrubbing procedures in sas?
If a variable contains only numbers, can it be a character data type?
What is the basic syntax style in SAS?
Explain what is data step?
Under what circumstances would you code a SELECT construct instead of IF statements?
i have a data set with 20 observations i want label from 8 to 15 observations ? how you create this one.
Describe crosslist option in tables statement?