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

Explain substr function?

0 Answers  


How would you include common or reuse to be processed along with your statements?

0 Answers  


What is LAG function?How is it used? can any one explain

3 Answers   TRE, Verinon Technology Solutions,


How to specify variables to be processed by the freq procedure?

0 Answers  


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

0 Answers  






how can u create zero observation dataset?

11 Answers   CitiGroup,


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

0 Answers  


What is the difference between proportion and average?

0 Answers   KPMG,


How many tiers in sas architecture?

2 Answers  


What do the PUT and INPUT functions do?

0 Answers  


what is sas metadata repository? : Sas-bi

0 Answers  


In the SAS Data step what is the difference between the subsetting done by Where and subsetting done by If?

6 Answers   Cognizant,


Categories