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

Answer Posted / vigneshwaran.s

Rename the variable in First data or in The Second Data:

Like,

Merge A(rename=(comman_var=New_var))(in=x)
B (in=y);
by New_var;
Run;

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between SAS functions and procedures?

902


what is operational data and operational system? : Sas-di

872


how to read the variables in sas? : Sas-administrator

789


Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com

1811


Explain substr function?

803


explain the key concept of sas? : Sas-administrator

760


where to use sas business intelligence? : Sas-bi

793


for what purpose would you use the retain statement? : Sas programming

822


This entry was posted in General. Bookmark the permalink. Post a comment or leave

4351


Describe a time when you were really stuck on a problem and how you solved it?

2426


how would you create multiple observations from a single observation? : Sas programming

778


how does sas handle missing values in sort order? : Sas programming

734


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1533


Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma

3269


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

1953