Dear Statalisters,

I came across what I think is strange behavior by Stata's reclink. I want to perform fuzzy matching on company names, while requiring a match on country. I am running the following commands.


local matchvars country company_initial companyname
reclink `matchvars' using "$Root\wsdata", idmaster(id) idusing(ws_id) gen(score) orblock(country)

Everything starts as expected and I see dots appearing as an indication of progress. However after some time (perhaps 20 minutes) I see the following error in red: "option ) not allowed"

I am quite confused. I tried searching to see if someone else came across similar bahavior but with no luck.

I would be grateful if anyone could help me fixing this or suggesting where the problem may be.

Many thanks,

Szymon Sacher