Answer Posted / ganesh
If it is an integer we can use %eval ..
If it has decimal values then %sysevalf..
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is interleaving in SAS?
Mention what is the difference between nodupkey and nodup options?
How to create a permanent sas data set?
How would you define the end of a macro?
what are several options for creating reports in web report studio? : Sas-bi
Do you know the features of sas?
how does sas handle missing values in functions? : Sas programming
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
What are the automatic variables for macro? : sas-macro
How does the internal authentication work in sas? : sas-grid-administration
Name any two sas spawners? : sas-grid-administration
What is the difference between one to one merge and match merge? Give an example.
what are some good sas programming practices for processing very large data sets? : Sas programming
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 do you know about sas data set?