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 hash files in sas and why we are using this one in sas?
Are you involved in writing the inferential analysis plan? Tables specfications?
what is sas data set?
what are input dataset and output dataset options? : Sas programming
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
what is intially documentation in sas?
How to limit decimal places for variable using proc means?
Which command is used to perform sorting in sas program?
Mention what is SAS data set?
What is the difference between using drop = data set option in data statement and set statement?
how does sas handle missing values in sort order? : Sas programming
Differentiate between proc means and proc summary.
Define run-group processing?
what is sas enterprise intelligence architecture? : Sas-bi
Mention what is PROC in SAS?