Please write codes to merge two datasets and keep every
record in the first dataset.
Answer / reshma
proc sort data=dataA;
by commonvar;
run;
proc sort data=dataB;
by commonvar;
run;
data new;
merge dataA (in=a) dataB (in=b);
if a ;
by commonvar;
run;
| Is This Answer Correct ? | 14 Yes | 0 No |
what are the benefits of data integration? : Sas-di
What is the difference between an informat and a format. Name three informats or formats.
Name statements that are recognized at compile time only?
Name few SAS functions?
What are the ways to do a “table lookup” in sas?
What is the function of output statement in a SAS Program?
What are the differences between proc means and proc summary?
what is in stream data in SAS?
This entry was posted in General. Bookmark the permalink. Post a comment or leave
What is difference between Global n Local Macro Variables..?
What are exact SAS Base contents..?N what r SAS Tools..?
Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables?