You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
In general, within Stata, if you are creating a file in a given location, and Stata finds a file of the same name in the same location, it will give an error message and stop if you have not specified the replace option. The replace option - usually allowed on commands that create an output file - tells Stata that - if necessary - it is allowed to replace the existing file with the new one. If no such file exists, then the replace option is unnecessary, but causes no error. Think of "replace" as "replace if necessary".
Comment