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

Diff between proc sql merge and join?

1 Answers   HSBC, Sristek,


Name any two sas spawners? : sas-grid-administration

0 Answers  


what is difference in window SAS & Unix SAS.....how do define working environment in both???

1 Answers   JPMorgan Chase,


diff between nodup rec and ondup key???

3 Answers   AON, Sciformix,


Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com

0 Answers  






SAS using companies in chennai

1 Answers  


If you set a label in the data step and call a proc freq on the data, how do you display the data without the labels and just the variables.

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,


how will you location sas platform applications available from web browser? : Sas-bi

0 Answers  


What is the order of evaluation of the comparison operators: + - * /** ()?

3 Answers   Quintiles,


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

0 Answers   Pfizer,


libname deepak 'C:\SAS Files'; proc format; invalue convert 'A+' = 100 'A' = 96 'A-' = 92 'B+' = 88 'B' = 84 'B-' = 80 'C+' = 76 'C' = 72 'F' = 65; data deepak.grades; input ID $3. Grade convert.; *format Grade convert. ; datalines; 001 A- 002 B+ 003 F 004 C+ 005 A ; proc print data = deepak.grades; run; I get the following output Obs ID Grade 1 001 . 2 002 . 3 003 . 4 004 . 5 005 . I don’t understand why Grade shows up as a missing value. Everything seems fine, including ID $3. Now, in case I use ID : $3. Or use column input, I get the desired output. Kindly help Deepak

7 Answers  


Categories