Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: uniqmaster option with merge


From   Iva Bozovic <bozovic@usc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: uniqmaster option with merge
Date   Thu, 19 Jun 2008 23:20:35 -0700

Hi,

I have an issue with the merge options.  I want to force the merge to  
take the match variable from the master file since it is not an  
unique identifier in the using file.  In other words, I want to all  
all observations that have the same hqduns as those in the master  
file.  But the option uniqmaster gives me the comment below as if I  
never even attached the option.  And the output shows that it did not  
merge anything from the using file.  Any suggestions?
I have up-to-date stata 10.

. merge hqduns using sm_NETS, uniqmaster
variable hqduns does not uniquely identify observations in sm_NETS.dta

Thanks.  Iva


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index