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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name and describe few sas character functions that are used for data cleaning in brief.

1071


What do the put and input function do?

1012


Differentiate between proc means and proc summary.

1008


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

3332


Describe 5 ways to do a “table lookup” in SAS?

1100


What is connection profile? : sas-grid-administration

1121


what is intially documentation in sas?

4968


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

923


what is the difference between infile and input? : Sas-administrator

1076


What are types of transport files?

7891


What is a macro routine?

2654


How can you limit the variables written to output dataset in data step?

1257


How does the internal authentication work in sas? : sas-grid-administration

1079


How are numeric and character missing values represented internally?

1618


I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

2110