Hi,

I have a matched case control dataset with 3 controls to every case. I have data that I want to merge into one dataset which is fine the first time I run the merge. But then attempting to merge a third file gives the output either:

Code:
variable _merge already defined
r(110);
Or

Code:
variable id does not uniquely identify observations in the using data
.

Can anyone advise?

Thanks