How to write duplicate records into a separate dataset using
sort?
Answer Posted / charan araveti
if u dont want to use DUPOUT,hear is some code:
data dup(drpo temp_id);
set ds1;
retain temp_id;
if temp_id ne id then
output;
temp_id=id;
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the difference between %local and %global? : sas-macro
what are several options for creating reports in web report studio? : Sas-bi
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?
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
What are the scrubbing procedures in sas?
What is the difference between INPUT and INFILE ?
What is substr function?
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
explain the function of substr in sas? : Sas-administrator
Give e an example of..
What is maximum number of rows and cols can be handled in SAS?
what are the scrubbing procedures in sas? : Sas programming
explain the use of % includes a statement in sas? : Sas-administrator
How do you test for missing values?
Name validation tools used in SAS