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

What is the difference between %local and %global? : sas-macro

1178


what are several options for creating reports in web report studio? : Sas-bi

1144


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2453


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

1530


What are the scrubbing procedures in sas?

1000


What is the difference between INPUT and INFILE ?

1307


What is substr function?

1175


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

1070


explain the function of substr in sas? : Sas-administrator

1008


Give e an example of..

2334


What is maximum number of rows and cols can be handled in SAS?

1573


what are the scrubbing procedures in sas? : Sas programming

1276


explain the use of % includes a statement in sas? : Sas-administrator

997


How do you test for missing values?

1624


Name validation tools used in SAS

1173