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 techniques and/or procs do you use for tables? : Sas programming

993


How we can call macros with in data step? : sas-macro

1058


What system options would you use to help debug a macro? : sas-macro

1047


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

1014


How to test the debugging in sas?

1110


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

1077


How do you debug and test your SAS programs?

1501


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

2172


How substr function works in sas?

1154


describe the interaction table in sas di? : Sas-di

965


What is maximum storage capability of SAS?

1352


what do you mean by data staging area? : Sas-di

1064


Give an example where SAS fails to convert character value to numeric value automatically?

1026


Explain the special input delimiters used in sas programming.

955


What is maximum number of rows and cols can be handled in SAS?

1472