Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: value label __MERGE for _merge already exists
From
Sergiy Radyakin <[email protected]>
To
[email protected]
Subject
Re: st: value label __MERGE for _merge already exists
Date
Wed, 24 Nov 2010 14:52:07 -0500
On Tue, Nov 23, 2010 at 1:14 PM, sara borelli <[email protected]> wrote:
> Dear Statalister
> when I merge two datasets using mmerge I get the following mmessage
>
> value label __MERGE for _merge already exists
>
> the merge seems to work ok, but the obs from different datasets instead of getting labeled in the traditional way like
> obs only in master data (code==1)
> obs only in using data (code==2)
> obs both in master and using data (code==3)
>
> have just obs 1 (code==1)
> obs 2 (code==2)
> obs 3 (code==3)
>
> This is happening only with some datasets, but I do not know exactly why.
> is there a way to eliminate this new label of merge?
1. Check if any of the two datasets being merged has the __MERGE label defined
already. Drop such before merging.
2. See if the problem occurs when you use standard -merge- instead of -mmerge-
Best, Sergiy Radyakin
>
>
>
>
>
>
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/