Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Nostop in do files


From   Katia Bobulova <katia.bobulova@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Nostop in do files
Date   Fri, 22 Oct 2010 16:19:43 +0100

The option could be dangerous, but it is useful for preliminary analysis.

I have bot the data and the do files in the same folder.

So I open the dataset and then I type:
do 2000, nostop

where 2000 is the name of my do file I receive the message file
2000.do not found

Could you please help me to solve this problem?

thank you for your help
Katia

2010/10/22 Maarten buis <maartenbuis@yahoo.co.uk>:
> --- On Fri, 22/10/10, Katia Bobulova wrote:
>> The link to the solution that I mentioned is this one:
>>
>> http://www.stata.com/statalist/archive/2004-02/msg00140.html
>
> I agree with Nick, that the -nostop- option is a very dangerous
> option, and I would not use it. -capture- is the much much much
> saver alternative.
>
>> I opened my data and my do file. Usually I click on the
>> button for the do file. I tried to type do myfyle, nostop
>>
>> but I receive an error message: fyle myfile.do not found
>>
>> what I am doing wrong?
>
> It means that the file "myfile.do" does not exist in your
> current directory.
>
> The way to do this is to create a .do file that does
> whatever you want to do, and store that .do file. This
> means that it has a name and is located in some directory.
> Use -cd- to change your current directory to that directory.
> Than use -do myfile.do, nostop- to run your .do file.
> However, the part -myfile.do- should ofcourse be replaced by
> the name you used to for your .do file. However, I repeat
> my earlier point that you should not use the -nostop-
> option, it is dangerous.
>
> Hope this helps,
> Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
> http://www.maartenbuis.nl
> --------------------------
>
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index