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
is data integration and etl programming is same? : Sas-di
what is data access? : Sas-di
what is the Population you used in your project, is it ITT or PP?
What is the function of output statement in a SAS Program?
What are the 3 components in sas programming?
Explain what is the use of proc gplot?
What do you code to create a macro? : sas-macro
what does the run statement do? : Sas programming
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
How can I remove header from output data set?
How would you determine the number of missing or nonmissing values in computations?
Explain the main difference between the sas procedures and functions? : Sas-administrator
Mention sas system options to debug sas macros.
What Proc glm does?
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?