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

Answer Posted / madhavi.nowduru@gmail.com

set dataset1 dataset2;
by var;

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the length assigned to the target variable by the scan function?

671


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?

635


List out some key concept of SAS

617


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

648


What are the differences between sum function and using “+” operator?

576






what are several options for creating reports in web report studio? : Sas-bi

628


what are _numeric_ and _character_ and what do they do? : Sas programming

672


What are the scrubbing procedures in sas?

570


what is data access? : Sas-di

603


hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana

4909


Mention what is SAS data set?

670


What is SAS informats?

633


In proc transpose and data step with arrays which one you pick?

2572


What do you understand by the term Normal Distribution?

570


how to change the execute of macro

1671