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 would you delete observations with duplicate keys?

Answer Posted / g.jyotshna

proc sort data=datasetname nodup;
by var;
run;
proc sort data=datasetname nodupkey;
by var;
run;
proc sort data=datasetname noduprecs;
by var;
run;

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

1937


Explain the difference between using drop = data set option in set and data statement?

1150


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4510


Difference between nodup and nodupkey options?

1183


For clinical entire study how many tables will create approx?

1962


What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro

1034


Mention what is SAS data set?

1130


: and & modifiers.

1384


What is the difference between nodupkey and nodup options?

1032


Tell me about % include and % eval? : sas-macro

1138


What are the parameters of scan function?

1167


Mention the difference between ceil and floor functions in sas?

1143


Enlist the syntax rules followed in sas statements.

1078


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

1135


what are the types of interactive display types? : Sas-bi

1086