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 do i read multiple spaces in datasets? eg: vijaya raghava perumal.I tried with using & but it workss if its vijaya raghava but not for raghava perumal.how to do this?
What are the 3 components in sas programming?
How do you delete duplicate observations in sas?
SAS using companies in chennai
Tell e how how dealt with..
Have you been involved in editing the data or writing data queries?
1 Answers BioServe, Oracle, Sasken,
What does error:1 mean?
Can you excute a macro within a macro? Describe.
Name statements that are recognized at compile time only?
How we can create SAS USER DEFINED CODE?
What are the five ways to do a table lookup in sas? : sas-grid-administration
Can anyone help me about SAS Realtime scenarios in Clinical field