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 do we get duplicate observations in a separate dataset?

Answer Posted / vipin choudhary

Proc sort data = indata;
by name;
run;
Data outdata;
set indata;
by name;
if first.name and last.name then delete;
run;
proc print data = outdata;
run;

or else you can use the dupout option in proc sort

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the basic syntax of a sas program?

1141


In sas admin differentiate between roles and capabilities? : sas-grid-administration

939


What would be the value of month at the end of data step execution and how many observations would be there?

1059


What is the SAS data set?

1082


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

968


what is the use of sas management console? : Sas-di

1033


Explain what is the use of proc gplot?

1124


what is sas metadata repository? : Sas-bi

1052


Name any two sas spawners? : sas-grid-administration

980


what are the considerations when picking a SAS/STAT procedure?

3323


how would you create multiple observations from a single observation? : Sas programming

952


what is data integration? : Sas-di

1063


What are types of transport files?

7861


Explain translate function?

1128


what is the difference between floor and ceil functions in sas? : Sas-administrator

1188