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 / m.sivakumar

data dups;
input var1;
datalines;
1
2
3
4
4
3
5
6
;
run;
proc sort data=dups;
by var1;
run;
data dups1;
set dups;
by var1;
if not(first.var1 and last.var1) then output;
run;
proc print data=dups;
run;
proc print data=dups1;
run;

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

it will become easy if uuu provide website linkssss and list of consultanciessssss

1916


What does PROC print, and PROC contents do?

1167


Have you ever used the SAS Debugger?

1690


Explain the special input delimiters used in sas programming.

952


what is the difference between nodup and nodupkey options? : Sas programming

1109


Are you involved in writing the inferential analysis plan? Tables specfications?

2505


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

3321


what is data access? : Sas-di

1076


What is the work of tranwrd function?

1175


what do the pad and dim functions do? : Sas programming

958


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

965


In proc transpose and data step with arrays which one you pick?

3038


Where do you use proc means over proc freq?

1049


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

967


What is PROC in SAS?

992