how do we get duplicate observations in a separate dataset?
Answer Posted / vipin choudhary
Proc sort data = indata;
by name;
run;
Data outdata;
set indata;
by name;
if first.name and last.name then delete;
run;
proc print data = outdata;
run;
or else you can use the dupout option in proc sort
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is maximum number of rows and cols can be handled in SAS?
Name validation tools used in SAS
What is the basic syntax of a sas program?
What is the basic structure of a sas program?
what r the job openings SAS for fresher graduates !
how does sas handle missing values in functions? : Sas programming
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
what type of graphs we will create(for 2+years candidates)?
What are the features of base sas system?
Tell me about % include and % eval? : sas-macro
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
What system options would you use to help debug a macro? : sas-macro
How can I remove header from output data set?
What is by-group processing?
Which command is used to save logs in the external file?