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

Mention what are the data types does SAS contain?

1190


Given an unsorted data set, how to read the last observation to a new data set?

1405


how to generate the test data in sas without input data? : Sas-administrator

1172


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

1180


Which are the statements whose placement in the data step is critical?

1308


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

1186


What are the five ways to do a table lookup in sas? : sas-grid-administration

1114


What do the put and input function do?

1107


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

1247


Describe the ways in which you can create macro variables? : sas-macro

1113


Do you need to rearrange the order of the data for the report?

2359


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

2394


Define run-group processing?

1095


What is the role of sas grid administrator? : sas-grid-administration

1340


What is a put statement?

1265