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
for report generation which one you used proc report or data_null_?
How do you delete duplicate observations in sas?
How do you control the number of observations and/or variables read or written?
explain what is factor analysis? : Sas-administrator
what is the primary data source for the wrs? : Sas-bi
In sas admin differentiate between roles and capabilities? : sas-grid-administration
Where do you use proc means over proc freq?
How would you determine the number of missing or nonmissing values in computations?
what do the pad and dim functions do? : Sas programming
What is the SAS data set?
What are the data types in sas?
how to debug and test the sas program? : Sas-administrator
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
Difference between sum function and using “+” operator?
how would you create multiple observations from a single observation? : Sas programming