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
how to read the variables in sas? : Sas-administrator
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
What do you know about symput and symget?
Explain the special input delimiters used in sas programming.
Explain the difference between using drop = data set option in set and data statement?
How do you connect the desktop application to metadata server? : sas-grid-administration
What are the default statistics that proc means produce?
What do you know about sas and what we do? : sas-grid-administration
what is business intelligence? : Sas-bi
what are the scrubbing procedures in sas? : Sas programming
What are the advantages of using sas?
What are the five ways to do a table lookup in sas? : sas-grid-administration
What are the scrubbing procedures in sas?
how to do user inputs and command line arguments in sas?
If money were no object, what would you like to do?