Statalist


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

Re: st: RE: Return r(111) this time


From   Eva Poen <[email protected]>
To   [email protected]
Subject   Re: st: RE: Return r(111) this time
Date   Sun, 15 Mar 2009 18:37:26 +0000

I have to correct myself in the sense that -trace- will show, with
-nlsur-, details of the program used. It will not, however, pass on
the error message, or the return code, of the program. That makes it
more difficult to pinpoint the error. The same happens if -set trace
on- is used inside the program, irrespective of -tracedepth-.

When the program is invoked directly (without -nlsur-), the error
messages will relate to actual problem inside the program. The program
will, however, change the data if it runs successfully; therefore,
copies of the dependent variables should be used.

Eva



2009/3/15 Nick Cox <[email protected]>:
> I've not tried it with -nlsur- but in general it is true that you may
> need to -set tracedepth- too. Alternatively, and probably better here,
> insert  -set trace on- at the beginning of your own program.
>
> Nick
> [email protected]

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index