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 do you define proc in sas? : sas-grid-administration

1052


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?

1126


Which command is used to perform sorting in sas program?

1012


what is function of retain statment

1987


Explain by-group processing?

960


What does PROC print, and PROC contents do?

1186


What is the difference between %local and %global? : sas-macro

1138


How to create a permanent sas data set?

1166


what is enterprise guide? What is the use of it? : Sas programming

974


what is the function of catx syntax? : Sas-administrator

1058


explain the main difference between the nodup and nodupkey options? : Sas-administrator

1125


What do you understand by the term Normal Distribution?

940


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

1196


What would be the value of month at the end of data step execution and how many observations would be there?

1091


what is the purpose of _error_? : Sas programming

1090