When merging 2 datasets with a common variable (not merge
key), how to keep both?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Answer / madhavi.nowduru@gmail.com
set dataset1 dataset2;
by var;
| Is This Answer Correct ? | 0 Yes | 3 No |
why is a stop statement needed for the point=option on a set statement? : Sas programming
how to rearrange the data as our wish by using dataset block?
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
In which format does Date stores in sas..? What is the use of DATE in SAS.?
Describe 5 ways to do a “table lookup” in SAS?
what is null hypothesis? why do you consider that?
0 Answers Accenture, Quintiles,
what other SAS features do you use for error trapping and data validation?
What is SAS? is it a software just for use or we can creat something over there?
how can you get the single data set from the library(which has the number of data sets)?
3 Answers Accenture, Deloitte,
%STPbegin;%STPEND; ERROR: No logical assign for filename _WEBOUT. WARNING: No body file. HTML output will not be created. unable to fix it.plz help
describe about joins? briefly?
WHAT DIFFERRENCE DID YOU FIND AMONG VERSION 6 8 AND 9 OF SAS.