1.we can execute a macro with in a macro,by using call
symput and symget can any one give me one example?
2.We can create the macro variables by using %let,%do,macro
parameters,INTO clause in proc sql and call symput, can
any one give me example to create macro variable with INTO
clause and call symput?
3.
Answer Posted / aravind9882
data x;
a=98;
b=45;
call symput('m',a);
run;
%put &m;
proc sql;
select b into :m2 from x;
quit;
%put &m2;
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are the difference between ceil and floor functions in sas?
List down the reasons for choosing sas over other data analytics tools.
What Proc glm does?
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
AE datasets names? how many types?
describe the interaction table in sas di? : Sas-di
Tell e how how dealt with..
what is the difference between nodup and nodupkey options? : Sas programming
Mention what is SAS data set?
do you prefer proc report or proc tabulate? Why? : Sas programming
What sas features do you use to check errors and data validation?
What function CATX syntax does?
Mention what is the difference between nodupkey and nodup options?
Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya
How do dates work in sas?