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 does sas handle missing values in a merge? : Sas programming
What sas features do you use to check errors and data validation?
How to create list output for cross-tabulations in proc freq?
explain what is data set in sas? : Sas-administrator
What are all the problems you faced while validating tables and reports?
explain the function of substr in sas? : Sas-administrator
What are the data types does SAS contain?
Difference between sum function and using “+” operator?
What are the default statistics that proc means produce?
Give some examples where proc report’s defaults are same as proc print’s defaults?
how could you generate test data with no input data? : Sas programming
what is the difference between unique key and primary key? : Sas-di
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
Explain proc sort?
How would you include common or reuse to be processed along with your statements?