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...

When merging 2 datasets with a common variable (not merge
key), how to keep both?

Answer Posted / reshma

data newdata;
merge dataset1 (in=a) datset2 (in=b);
if a or b;
by commonvar;
run;

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming

1345


Can you explain the process of calendar?

1116


What is your favorite all time computer book? Why?

2510


What is the SAS data set?

1131


What are the special input delimiters used in SAS?

1183


If money were no object, what would you like to do?

3204


What is the general format of function in sas? : sas-grid-administration

975


How to create list output for cross-tabulations in proc freq?

1114


what is the use of proc contents and proc print in sas? : Sas-administrator

1063


what is the difference between nodup and nodupkey options? : Sas programming

1192


How would you identify a macro variable? : sas-macro

1020


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

1036


Name few SAS functions?

1095


What is the maximum length of the macro variable? : sas-macro

1094


How do you convert basic cube to transaction cube and transaction cube to basic cube?

2233