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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what does the run statement do? : Sas programming

1059


If a variable contains letters or special characters, can it be numeric data type?

1213


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

1256


Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?

1921


What is the basic structure of a sas program?

1122


What do the put and input function do?

1064


What is the SAS data set?

1132


: and & modifiers.

1396


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

1156


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

2930


Can you execute a macro within a macro? Describe. : sas-macro

1111


Explain append procedure?

1088


List down the reasons for choosing sas over other data analytics tools.

1285


What is the basic syntax of a sas program?

1210


what is the purpose of _error_? : Sas programming

1140