Incorrect syntax. Look at the help again
and then delete the first "using".
Nick
[email protected]
Dietrich Dr�ner
> I have a actually quite simple problem, but my STATA (version
> 7) does not understand me:
>
> I want to add 3 variables from a different (using) data set,
> which has only 1 observation, to my master data set in memory
> with 28 observations.
>
> I tried:
> merge using var1 var2 var3 using
> "$otherdirectory\differentdataset.dta"
>
> but I get the error message "variable var1 not found" or
> "var1 ambiguous abbreviation" (which is definitely not true).
> But it seems to me that "joinby" or "append" are even less
> appropriate commands.
> It would be much more efficient if it worked somhow this way,
> because I must make a similar operation with 9 data sets.
*
* 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/