how do we get duplicate observations in a separate dataset?
Answer Posted / bitla
ex:
data dup1 dup2;
set original;
by dup_var;
if first.dup_var then output dup1 else output dup2;
run;
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is program data vector (pdv)?
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?
Have you used macros? For what purpose you have used? : sas-macro
Where do you use proc means over proc freq?
How do you connect the desktop application to metadata server? : sas-grid-administration
What is the difference between match merge and one to one merge?
what is transformation in sas data integration? : Sas-di
how are numeric and character missing values represented internally? : Sas programming
Explain substr function?
What do you know about symput and symget?
what type of graphs we will create(for 2+years candidates)?
What are the new features included in the new version of SAS Programming Language?
What do the put and input function do?
How many data types are there in SAS?
What Proc glm does?