Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Differences between where and if statement?

1031


how the sas basic syntax style described? : Sas-administrator

975


How to include or exclude specific variables in a data set?

1073


Mention few capabilities of sas framework.

1133


This entry was posted in General. Bookmark the permalink. Post a comment or leave

4535


How can you limit the variables written to output dataset in data step?

1257


What is factor analysis?

1083


Do you need to know if there are any missing values?

1004


What is the difference between input and infile statement?

1119


Explain proc univariate?

980


what is proc Index? and what is proc document?

2643


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?

2191


what does the run statement do? : Sas programming

1002


Difference between nodup and nodupkey options?

1121


What are the functions used for character handling?

1190