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 write the matches of
both to one data set, the non-matches from the left-most
data set to a second data set, and the non-matches of the
right-most data set to a third data set.

Answer Posted / vinod swarna

proc sql;

create table both_match as
select *
from one
intersect
select *
from two;

create table left_non as
select *
from one
except
select *
from two;

create table right_non as
select *
from two
except
select *
from one;

quit;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is study design in while working with SAS? what are screening variables in SAS?

2242


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

1191


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

1252


What is your favorite all time computer book? Why?

2509


What is the difference between match merge and one to one merge?

1249


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

1122


How we can create SAS USER DEFINED CODE?

2096


Why double trailing @@ is used in input statement?

1222


How do you connect the desktop application to metadata server? : sas-grid-administration

1096


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

3471


What are the implications?

1712


How do dates work in SAS data?

1176


what is sas business intelligence? : Sas-bi

1180


What are types of transport files?

8000


For what purposes have you used sas macros? : sas-macro

1001