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


Please Help Members By Posting Answers For Below Questions

What are the difference between ceil and floor functions in sas?

873


List down the reasons for choosing sas over other data analytics tools.

909


What Proc glm does?

729


Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?

1555


AE datasets names? how many types?

2151






describe the interaction table in sas di? : Sas-di

692


Tell e how how dealt with..

1869


what is the difference between nodup and nodupkey options? : Sas programming

734


Mention what is SAS data set?

777


do you prefer proc report or proc tabulate? Why? : Sas programming

660


What sas features do you use to check errors and data validation?

817


What function CATX syntax does?

777


Mention what is the difference between nodupkey and nodup options?

687


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

1460


How do dates work in sas?

738