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 Bentley American Celiac Society [EMAIL PROTECTED] - email (973) 776-3900 x5029 - voicemail/fax ---- "J.M. GRATIAS" <[EMAIL PROTECTED]> wrote: > > Razzak : > > >> > You can TRACE any Stored Procedure by using the following > > command at the R> prompt: > TRACE SELECT Sys_Proc_Src FROM Sys_Procedures WHERE + > Sys_Proc_Name = 'procname' > << > > Here is part of my code : > > *( poidstxt.prc ) > ----------------------------------------------------------------- > -- LOGEXPORT version Windows Copyrigth LOGIMATIQUE > 2001 -- > -- Proc�dure catalogu�e de Conversion des poids en toutes > lettres > -- Re�oit le poids � convertir dans vpoids (maximum 999 > 999 999,999). > -- Retourne le poids en toutes lettres dans une chaine > TEXT (120) > ----------------------------------------------------------------- > SET ERROR VAR verr > SET VAR vpoids DOU > SET VAR vcaption TEXT > SET VAR vTEXT TEXT = NULL > SET VAR vINT INTEGER = NULL > SET VAR vINT1 INTEGER = NULL > SET VAR vlibelle TEXT = NULL > ........ > RETURN (.vTEXT) > > It works in TRACE SELECT mode (as it does at R>) and return > the correct > value in vTEXT, but .... > on the last command (RETURN) I get error 3065 : > (STP_RETURN) is a reserved word or contains illegal char. > > I always get this error (whatever is the value of vpoids) > : > > R> SET var vpoids DOU = 1033333 > R> TRACE SELECT Sys_Proc_Src FROM Sys_Procedures WHERE > Sys_Proc_Name = > 'poisdtxt' > R> SHOW VAR vTEXT > > Thanks for your help .... > > J.M. GRATIAS, Logimatique > ================================================ > 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/ > __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com ================================================ 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/
