how to display duplicated observations in a data using base
sas.
Answer Posted / suresh babu prattipati
hi,
to display the dups in seperate dataset please find the
below program.
eg:
data dups;
input var1;
1
2
3
4
4
3
5
6
;
run;
/*to find the dups*/
data dups1;
set dups;
by var1;
if not(first.var1 and last.var1) then output;
run;
*now you can see the dups ;
If any one have any sas question please e.mail me to
suresh.sasv9@gmail.com
thanks
suresh
| Is This Answer Correct ? | 5 Yes | 9 No |
Post New Answer View All Answers
how to remove duplicates using proc sql?
How would you define the end of a macro? : sas-macro
What do you understand by the term Normal Distribution?
Explain translate function?
Describe a time when you were really stuck on a problem and how you solved it?
How is character variable converted into numeric variable and vice versa?
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
What is interleaving in SAS?
What is the role of sas grid administrator? : sas-grid-administration
What are the statements that are executed only?
What system options would you use to help debug a macro? : sas-macro
Mention the validation tools used in SAS?
name some data transformation used in sas di? : Sas-di
Explain the use of proc print and proc contents?
how to read the variables in sas? : Sas-administrator