% let A=3+4 what is result
Answers were Sorted based on User's Feedback
%let a=%eval(3+4);
%put &a;
answers is : 7
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / 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 |
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.
what is hash files in sas and why we are using this one in sas?
What are Dashboard reports?And significance of these in analysis?
Which is the Best SAS training Institute in Delhi NCR for SAS certification preparation
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
What is the significance of the ‘OF’ in X=SUM (OF a1-a4, a6, a9);?
what is portability of sas programmes?
what is intially documentation in sas?
What is the order of evaluation of the comparison operators: + - * /** ()?
what is the difference btw proc means and proc univariate?
What are _numeric_ and _character_ and what do they do?
. Which date advances a date, time or date/time value by a given interval?