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 write duplicate records into a separate dataset using
sort?

Answers were Sorted based on User's Feedback



How to write duplicate records into a separate dataset using sort?..

Answer / guest

Dupout option

Is This Answer Correct ?    27 Yes 1 No

How to write duplicate records into a separate dataset using sort?..

Answer / vimal

PROC SORT DATA=data_a DUPOUT=dup_data
NODUPKEY
OUT=nodup_data;
BY x;
RUN;

Is This Answer Correct ?    4 Yes 0 No

How to write duplicate records into a separate dataset using sort?..

Answer / yam

First sort the data set by the key variable and then

data dup;
set indata1;
if not(first.keyvar) then output dup;
run;

Is This Answer Correct ?    4 Yes 2 No

How to write duplicate records into a separate dataset using sort?..

Answer / charan araveti

if u dont want to use DUPOUT,hear is some code:

data dup(drpo temp_id);
set ds1;
retain temp_id;
if temp_id ne id then
output;
temp_id=id;

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More SAS Interview Questions

If you set a label in the data step and call a proc freq on the data, how do you display the data without the labels and just the variables.

1 Answers  


what is the use of LRECL option.

1 Answers   L&T,


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

0 Answers  


Difference Between Scan and Substr

2 Answers  


how does sas handle missing values in an update? : Sas programming

1 Answers  


How many missing values are available? When might you use them?

1 Answers   Quintiles,


how do u validate sas program

3 Answers   Accenture,


explain the main difference between the nodup and nodupkey options? : Sas-administrator

0 Answers  


What do you know about sas data set?

0 Answers  


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

0 Answers  


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

0 Answers   Quintiles,


what is the prob plot in clinical domain

1 Answers   TCS,


Categories