Hi all.
I have two files. File A has about 5000 unique values of the variable
PATENT, which is 7 characters long. File B has 16 million observations
and several million unique values for PATENT.
[...]
I attempted using vallist.ado in File A to generate a long local macro
(say, _useme) and then doing
use FileB if index(patent, "'useme'")
I get 0 observations in this case (even though I know there are some
matches). From the manual, it appears that index is limited to strings
of 80 characters, anyway.
I agree with Michael Blasnik, that a -merge, nokeep- should work, and the
-nokeep- is essential to making this manageable.