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
How do you specify the number of iterations and specific condition within a single do loop?
What is the difference between the proc sql and data step?
explain the proc in sas? : Sas-administrator
What are the prime responsibilities of data integration administrator? : Sas-di
Have you ever used the SAS Debugger?
Explain by-group processing?
Explain what is data step?
explain about various caches available in data integrator? : Sas-di
what is data access? : Sas-di
Give some ways by which you can define the variables to produce the summary report (using proc report)?
State the difference between INFORMAT and FORMAT ?
what is change analysis in sas di ? : Sas-di
name some data transformation used in sas di? : Sas-di
What are the special input delimiters used in SAS?
why is a stop statement needed for the point=option on a set statement? : Sas programming