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 display duplicated observations in a data using base
sas.

Answer Posted / suresh babu prattipati

hi,
to display the dups in seperate dataset please find the
below program.

eg:
data dups;
input var1;
1
2
3
4
4
3
5
6
;
run;

/*to find the dups*/


data dups1;
set dups;
by var1;
if not(first.var1 and last.var1) then output;
run;

*now you can see the dups ;

If any one have any sas question please e.mail me to

suresh.sasv9@gmail.com

thanks
suresh

Is This Answer Correct ?    5 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to remove duplicates using proc sql?

1138


How would you define the end of a macro? : sas-macro

1086


What do you understand by the term Normal Distribution?

979


Explain translate function?

1187


Describe a time when you were really stuck on a problem and how you solved it?

2541


How is character variable converted into numeric variable and vice versa?

1162


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2364


What is interleaving in SAS?

1097


What is the role of sas grid administrator? : sas-grid-administration

1276


What are the statements that are executed only?

1136


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

1084


Mention the validation tools used in SAS?

1151


name some data transformation used in sas di? : Sas-di

961


Explain the use of proc print and proc contents?

955


how to read the variables in sas? : Sas-administrator

1009