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

st: RE: Non linear least squares program, Stata versions?

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Non linear least squares program, Stata versions?
Date   Thu, 14 Oct 2004 15:22:04 +0100

It is really difficult to comment helpfully without 
seeing your program. 

rc (return code) 198 just means syntax error. 

Some programmers use 198 as the return code
for almost all premature exits, although as -nl- 
is official Stata code, it really should mean 
syntax error in your case. 

[email protected] 

Diego Rei

> I am encountering a problem  that has been discussed on the 
> list few months ago, but apparently not in a conclusive manner. 
> I am trying to run an nl program with Stata 8 and I get the 
> following error:
> invalid syntax
> nlprogt2 refused query, rc=198.
> On the list it was suggested, answering to a similar 
> question,  that this might have to do with the quoting signs  
>  ' in program lines. I checked them and they are all ok. So, 
> I tried to run the same program on an Stata 6, and it 
> actually worked. However, now, in Stata 6, if I slightly 
> alter my program, it stops with the following message: 
> nlprogt2 refused query, rc=198. Note that there doesnt appear 
> the line saying "syntax error".
> Can anyone enlighten me about what is the point here?Is there 
> a place where I can find what the meaning of "rc=198" or similar is?

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index