Answer Posted / narendra
%let A=3+4;
%put &a;
Answer is 3+4.
If you do like this
%let a=%eval(3+4);
%put &a;
Then answer is 7
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
List down the reasons for choosing sas over other data analytics tools.
What are the table names in oracle database...?
What is the differnce between SDTM 3.1.2 to 3.1.1 version
How do dates work in sas?
Describe the ways in which you can create macro variables? : sas-macro
Explain the purpose of retain statement.
hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana
how to change the execute of macro
Mention what is PROC in SAS?
what is the primary data source for the wrs? : Sas-bi
What is the use of stop statement?
What are the applications primarily used by business analyst? : Sas-bi
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
Mention few capabilities of sas framework.