Answer Posted / neel
proc sort data=ds1;
by var1;
proc sort data=ds2;
by var1;
run;
*from both datasets only matching data;
data match_merge;
merge ds1(in=a) ds2(in=b);
by var1;
if a and b;
run;
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
What is the difference between reading data from an external file and reading data from an existing data set?
In SAS explain which statement does not perform automatic conversions in comparisons?
how does sas handle missing values in sort order? : Sas programming
what is study design in while working with SAS? what are screening variables in SAS?
What Proc glm does?
What is connection profile? : sas-grid-administration
Difference between sum function and using “+” operator?
List out some key concept of SAS
What is the function of Stop statement in a SAS Program?
What is the general format of function in sas? : sas-grid-administration
explain the main difference between the nodup and nodupkey options? : Sas-administrator
What is the length assigned to the target variable by the scan function?
what is the basic structure sas administrator? : Sas-administrator
How sas treats the dsd delimiters?
What are the different servers in sas? : sas-grid-administration