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

st: RE: easy question ... merge


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: easy question ... merge
Date   Fri, 13 Feb 2004 13:12:47 -0000

. pwd 

to see that you are working in the same folder
as the files in question. 

. dir *.dta

to see what data files are in that folder. 

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

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of sgsr100
> Sent: 13 February 2004 12:53
> To: statalist@hsphsun2.harvard.edu
> Subject: st: easy question ... merge
> 
> 
> Dear statalist,
> Perhaps is an easy question. I am trying to merge one variable from a
> data set calle fm2m in other dataset named "mother".
> I know  that first I have to 
> sort based on the variables I have chosen to paste (in both dataset)
> then merge[varlist] using filename
> but when I trying to merge there is a message that indicates 
> file "fm2m"
> not found.
> The problem is that the file it exists, and I have it in the 
> same folder
> that I have the other dataset named "mother". I have already 
> checked as
> well, if there is any space in the name of the file, etc.
> What do you suggest I am doing wrong?

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