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
Differences between where and if statement?
how the sas basic syntax style described? : Sas-administrator
How to include or exclude specific variables in a data set?
Mention few capabilities of sas framework.
This entry was posted in General. Bookmark the permalink. Post a comment or leave
How can you limit the variables written to output dataset in data step?
What is factor analysis?
Do you need to know if there are any missing values?
What is the difference between input and infile statement?
Explain proc univariate?
what is proc Index? and what is proc document?
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
what does the run statement do? : Sas programming
Difference between nodup and nodupkey options?
What are the functions used for character handling?