Help please (new to STATA forum).
I just upgraded to STATA 18 at my University and have problem not encountered previously. I'm doing several merge commands, and my usual approach is to "drop _merge" in between commands so that I would not get the usual error that _merge is already defined.
I just now got the "variable _merge already defined" error even though I've dropped that variable. I confirm when I search that there is no variable "_merge" in my data set, but if I try to "drop _merge" again just to check it says "variable _merge already defined". So, it seems that STATA thinks there is a _merge variable defined, even though I cannot find and (and thought I dropped it). Because of this, I cannot move forward to do a new "merge" command.
Any thoughts on what is happening? Like I said....never had this happen until just now when I moved to STATA 18. I've exited and restarted STATA also to see if that helps, but no luck.
Thanks for any advice!
David
I just upgraded to STATA 18 at my University and have problem not encountered previously. I'm doing several merge commands, and my usual approach is to "drop _merge" in between commands so that I would not get the usual error that _merge is already defined.
I just now got the "variable _merge already defined" error even though I've dropped that variable. I confirm when I search that there is no variable "_merge" in my data set, but if I try to "drop _merge" again just to check it says "variable _merge already defined". So, it seems that STATA thinks there is a _merge variable defined, even though I cannot find and (and thought I dropped it). Because of this, I cannot move forward to do a new "merge" command.
Any thoughts on what is happening? Like I said....never had this happen until just now when I moved to STATA 18. I've exited and restarted STATA also to see if that helps, but no luck.
Thanks for any advice!
David
Comment