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 would you determine the number of missing or nonmissing values in computations?
how does sas handle missing values in a merge? : Sas programming
Approximately what date is represented by the SAS date value of 730?
what are the categories that sas informats are used to the place the data? : Sas-administrator
Mention what is the difference between nodupkey and nodup options?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
Differentiate between format and informat? : sas-grid-administration
What is the difference between proportion and average?
What is SAS? What are the functions does it performs?
what r the job openings SAS for fresher graduates !
List out some key concept of SAS
why is a stop statement needed for the point=option on a set statement? : Sas programming
What are the default statistics that proc means produce?
What do you code to create a macro? : sas-macro
Name validation tools used in SAS