At 05:31 PM 2/13/2002 -0500, Jim Bentley wrote:

>J.M. and Razzak,
>
>I encountered a similar problem way back when we were testing
>v6.5 for DOS.  That was when STP_RETURN was introduced as
>a replacement for MICRORIM_RETURN.  In versions prior to
>v6.5 there was an undocumented feature that allowed you to
>"RUN SOMECMD.RMD" and use syntax "RETURN .varname" 
>
>With v6.5 using the above syntax caused an error.  You may
>in some way be triggering the error which gives the messages
>you describe.
>
>My preference whould be to all the "RETURN .varname" with
>a STORED PROCEDURE and a RUN COMMAND.  When used with the
>RUN command STP_RETURN would be set the same as in a STORED
>PROCEDUE


Jim,

I can almost guarantee that you are NOT using the latest and 
greatest version of R:BASE 2000 (ver 6.5++) for DOS/Windows. 

MAJOR fixes and enhancements were included with the release 
of R:BASE 2000 (ver 6.5++), released on June 15, 2001 and 
then again on January 28, 2002 (Build:1.851xRT03).

Everything is well documented in RBW65PP.TXT, RBW65PP1.TXT, 
RBW65PP2.TXT and RBD65PP.TXT, RBD65PP1.TXT and RBD65PP2.TXT.

Also, follow the response from Mike Byerley on this list on 
Mon, 11 Feb 2002 17:05:09:

".. you MUST clear it.  STP_RETURN holds the return value 
from your stored procedure.  Its' DataType can change from 
one stored procedure Call to another stored procedure Call, 
so it must be cleared or it will throw an error (wrong type 
or scale)." ...

Hope that helps!

Very Best Regards,

Razzak.


===================================-============================
R:BASE Developers's Conference: http://www.rbase.com/conference 
Official R:BASE List Server:    mailto:[EMAIL PROTECTED]
RBTI Events/Training:        http://www.rbase2000.com/events
R:DCC Members:               http://www.rbase2000.com/rdcc
================================================================
R:BASE, Oterro & R:Tango are registered trademarks of RBTI.
==================================-=============================

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to