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

Using "IN" variable option. Look at the following example.

data three;
merge one(in=x) two(in=y);
by id;
if x=1 and y=1;
run;

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain substr function?

1113


what is proc Index? and what is proc document?

2723


How can sas program be validated?

1037


What are all the problems you faced while validating tables and reports?

3472


What is the purpose of _character_ and _numeric_?

1068


Mention few capabilities of sas framework.

1193


Can you execute macro within another macro? : sas-macro

996


Give some ways by which you can define the variables to produce the summary report (using proc report)?

1093


what is the effect of the options statement errors=1? : Sas programming

1061


What is the difference between order and group variable in proc report?

1436


How are numeric and character missing values represented internally?

1659


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

1093


how does sas handle missing values in a merge? : Sas programming

1048


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

1406


how does sas handle missing values in formats? : Sas programming

1139