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 would you code a merge that will keep only the
observations that have matches from both sets?

Answer Posted / san

data c;
merge data a(in=a)
dat b(in=b);
if a=1 and b=1;
by<common column>;
run;

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

1157


what is treatment emergent events and treatment emregent adverse event

2448


What do you know about sas data set?

1187


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

1074


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

1335


What are the default statistics for means procedure?

1299


How can sas program be validated?

1073


how many display types available in sas bi dashboard? : Sas-bi

1143


for what purpose would you use the retain statement? : Sas programming

1147


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

4006


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

1154


How to create an external dataset with sas code?

1246


Explain the purpose of retain statement.

1105


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4593


what is transformation in sas data integration? : Sas-di

1086