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.



1.we can execute a macro with in a macro,by using call symput and symget can any one give me one e..

Answer / 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

More SAS Interview Questions

What is the difference between a PROC step and a DATA step?

14 Answers   Accenture, HSBC,


What is difference between (a-z) and (a--z)

8 Answers   Accenture,


What type of tables you are using in YOUR reporting..???

2 Answers   GSK GlaxoSmithKline,


Tell e how how dealt with..

0 Answers   Wipro,


how does sas handle missing values in a merge? : Sas programming

0 Answers  






how to get second highest salary from a employee table and how get a 5th highest salary from a employee table?

11 Answers   ABC, Amex,


explain about data integrator metadata reports? : Sas-di

0 Answers  


Are the preferred term counts are always equal to Body system counts? If so, Why are they equal if not why they are not equal?

1 Answers   Icon,


How would you generate 1000 observations from a normal distribution with a mean of 50 and standard deviation of 20. How would you use PROC CHART to look at the distribution? Describe the shape of the distribution.

1 Answers  


Describe the function and untility of the most difficult SAS macro that you have written.

0 Answers  


What is SAS informats?

0 Answers  


What are pdv and it functions?

0 Answers  


Categories