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

Describe the ways in which you can create macro variables?

0 Answers  


What is the function of output statement in a SAS Program?

0 Answers  


How we will Developing new reports Using Data step programming and Macros ?

4 Answers  


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

0 Answers  


What is a post baseline?

1 Answers  


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set.

10 Answers   Accenture,


what are system option ? give few examples ? what are dataset options and dataset statements ? if there is a keep option and keep statement ? which one is executed first ? Difference between a WHERE statement and IF statement ? what is the advantage of using WHERE statement option on the dataset ?

1 Answers   Satyam,


is data integration and etl programming is same? : Sas-di

0 Answers  


what versions of sas have you used (on which platforms)? : Sas programming

0 Answers  


What are the difference between sas functions and procedures?

0 Answers  


What r all the reporting procedures...?

3 Answers  


proc means? proc sort? proc append? proc freq? proc print? proc content?

4 Answers   Oracle,


Categories