If I understand this correctly, you need to find out
about -set trace-.
. set trace on
sets tracing of commands so that you can see where
in the code a command failed. Tracing can be tuned
in various ways.
I don't know anything about SAS, but if your ideal
is equivalent to
error 198;
at line ... of -foobar-
-foobar- was called from line ... of -whizzbang-
-whizzbang- was called from line ... of -bushranger-
...
well, that's another style, and ultimately equivalent
to Stata's style.
Nick
[email protected]
Fan, Shihe
> Hi, Bobby,
>
> If you are envisioning to improving the error reporting
> functionality in
> STATA, could you please make the error reporting specific,
> such as what
> is done in SAS, by pointing out where the syntax error or any other
> error occurs exactly, but not so general in its current form. Error
> tracing in STATA right now seems rather inadequate in my uneducated
> opinion.
*
* 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/