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
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
How to test the debugging in sas?
Explain how you can debug and test your SAS program?
what versions of sas have you used (on which platforms)? : Sas programming
What is the command used to find missing values?
what do the pad and dim functions do? : Sas programming
What function CATX syntax does?
Differentiate between format and informat? : sas-grid-administration
what are the benefits of data integration? : Sas-di
How to include or exclude specific variables in a data set?
List out some key concept of SAS
For clinical entire study how many tables will create approx?
hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana
how does sas handle missing values in formats? : Sas programming
Describe the function and untility of the most difficult SAS macro that you have written.