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
List out some key concept of SAS
What is factor analysis?
Differences between where and if statement?
what are input dataset and output dataset options? : Sas programming
which features do you use to check the data validations and errors? : Sas-administrator
For what purpose would you use the RETAIN statement?
What are the new features included in the new version of SAS Programming Language?
How is character variable converted into numeric variable and vice versa?
where are dashboard components are created and maintained? : Sas-bi
What are symget and symput? : sas-macro
How sas treats the dsd delimiters?
How many ways to overcome a missing values???
what is business intelligence? : Sas-bi
how are numeric and character missing values represented internally? : Sas programming
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately