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 / natrajboga

use the dupout= and nodupkey options in proc sort and
followed by BY statemet with list of vars

proc sort data=xxx dupout=dup_xxx nodupkey;
by var1;
run;

/* see the log window */

proc print data=dup_xxx;
run;

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What system options would you use to help debug a macro? : sas-macro

1047


Describe the function and untility of the most difficult SAS macro that you have written.

2151


what is enterprise guide? What is the use of it? : Sas programming

948


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

4527


AE datasets names? how many types?

2444


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1297


Which command is used to perform sorting in sas program?

987


How you can read the variables that you need?

1068


Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks

2199


Are you sensitive to code walk-throughs peer review or QC review?

3093


What is the difference between SAS functions and procedures?

1097


What is by-group processing?

945


Explain translate function?

1128


Explain what is SAS informats?

1038


What does P-value signify about the statistical data?

1303