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 is the order of evaluation of the comparison operators: + - * /** ()?
what are all the reports you generated in your recent project?
0 Answers Accenture, Quintiles,
Diff between proc sql merge and join?
What are the 3 components in sas programming?
How does Mr.Lanka Srinivas teach SAS? Are his accomplishments real? What are the future prospects for SAS?
Do you prefer Proc Report or Proc Tabulate? Why?
How would you delete duplicate observations?
State the difference between INFORMAT and FORMAT ?
What is the difference between verification and validation?
How to display duplicate observations in data?
explain the main difference between the nodup and nodupkey options? : Sas-administrator
What are the data types does SAS contain?