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 are input dataset and output dataset options? : Sas programming
what is the difference between unique key and primary key? : Sas-di
How can you limit the variables written to output dataset in data step?
how to debug and test the sas program? : Sas-administrator
Explain what Proc glm does?
What is substr function?
what do the mod and int function do? What do the pad and dim functions do? : Sas programming
what is information maps?
How will you generate test data with no input data?
What versions of SAS have you used (on which platforms)?
Have you used macros? For what purpose you have used? : sas-macro
Explain why double trailing @@ is used in input statement?
Mention the validation tools used in SAS?
explain the use of % includes a statement in sas? : Sas-administrator
Give e an example of..