how do we get duplicate observations in a separate dataset?
Answer Posted / rajaanku11
proc sql;
create table dup_obs as (
select * from <lib>.<dsn>
group by <dup var>,<list of other vars>
having count(*)>1 )
quit;
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
How we can call macros with in data step? : sas-macro
what is sas business intelligence? : Sas-bi
how do you test for missing values? : Sas programming
What is slibref?
Enlist the functions performed by sas.
what are several options for creating reports in web report studio? : Sas-bi
name the scheduler for scheduling job and explain the scheduler? : Sas-di
what r the job openings SAS for fresher graduates !
Name types of category in which SAS Informats are placed?
Why and when do you use proc sql?
What are the new features included in the new version of SAS Programming Language?
In ARRAY processing, what does the DIM function do?
explain about sas business intelligence? : Sas-bi
how will you locate the sas platform applications? : Sas-bi