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 is the one statement to set the criteria of data that can be coded in any step? : Sas programming
what are the categories that sas informats are used to the place the data? : Sas-administrator
what is operational data and operational system? : Sas-di
What are SAS/ACCESS and SAS/CONNECT?
What function CATX syntax does?
How to test the debugging in sas?
What are the different servers in sas? : sas-grid-administration
What are the five ways to do a table lookup in sas? : sas-grid-administration
Have you used macros? For what purpose you have used? : sas-macro
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
Explain the main difference between the sas procedures and functions? : Sas-administrator
why is sas considered self-documenting? : Sas programming
What is factor analysis?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
Give some examples where proc report’s defaults are different than proc print’s defaults?