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 / 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 |
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
what is the purpose of _error_? : Sas programming
What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?
What versions of SAS have you used (on which platforms)?
What is the use of PROC gplot?
what is the usage for assigning error=1 in a dataset ?
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
SAS using companies in chennai
how to change the execute of macro
Which is the best place to learn SAS clinicals and Oracle clinical in hyderabad?
what is Business Intelligence?
IS SAS COMPILER OR INTERPRETER? EXPLAIN?
3 Answers Aon Hewitt, HSBC, SCL, TCS,