Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Question about match merge on name (bug in extrname)


From   "Daniel R Sabath" <sabathd@u.washington.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Question about match merge on name (bug in extrname)
Date   Thu, 21 Aug 2003 10:01:30 -0700

There is a bug in extrname. If the variable _merge exists then extrname will
fail with a very vague "invalid syntax" error. If you have seen this
behavior the fix is to either drop or rename the variable from "_merge" to
"merge".

The exact error message is:

. extrname name, all
...
invalid syntax
r(110);

I have logged this bug with Stata and am posting with the hope that this
will keep someone else from wasting 2 hours trying to figure out why it
fails after a merge but not any other time.

Dan

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: Tuesday, August 19, 2003 1:32 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: Question about match merge on name

Bill Gould worked on personal name questions a while back. 

. search extrname 

That may help directly or indirectly. 

Nick 
n.j.cox@durham.ac.uk 

*
*   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