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

Mention how to limit decimal places for the variable using proc means?

1057


how do you debug and test your sas programs? : Sas programming

1069


Explain the use of proc print and proc contents?

905


where to use sas business intelligence? : Sas-bi

1003


Can you explain the process of calendar?

1057


Difference between informat and format?

1043


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

1108


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

1132


Explain what is SAS informats?

1039


To what type of programms have you used scratch macros?

2526


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

1047


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

1188


Describe the function and untility of the most difficult SAS macro that you have written.

2054


what are the considerations when picking a SAS/STAT procedure?

3324


How to limit decimal places for variable using proc means?

1044