Answer Posted / ganesh
When you want elemenate duplicate values from dataset using
nodup option in the procedure sort.
When you want elemenate duplicate keys from specified
variables then use nodupkey option in the procedure sort.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
what is sas business intelligence? : Sas-bi
what is sas olap server? : Sas-di
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.
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
what is the difference between unique key and primary key? : Sas-di
Are you involved in writing the inferential analysis plan? Tables specifications?
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
what is ae onset date n what is RDS
do you need to know if there are any missing values? : Sas programming
Name any two sas spawners? : sas-grid-administration
how can you create zero observation dataset? : Sas programming
how to debug and test the sas program? : Sas-administrator
Are you involved in writing the inferential analysis plan? Tables specfications?
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?
I need level 2 to 5 sas using companies in india