Stuart, try enclosing the variable name in parenthesis as in return
(.vname)Regards, Ken----- Original Message -----From: Stuart Cohen Date:
Saturday, February 9, 2008 2:36 pmSubject: [RBASE-L] - Bad RETURNSTo:
[email protected] (RBASE-L Mailing List)> I traced the following stored
procedure:> > > SET VAR vcountnum INTEGER = NULL> SELECT COUNT(*) INTO
vcountnum INDIC ivcountnum FROM login> RETURN .vcountnum> > After running
the third line I get the following error message: > > --ERROR- (STP_RETURN) is
a reserved word or contains illegal > characters > (3065).> > Does anybody see
what I am doing wrong?> > > Stuart J. Cohen, Ph.D.> Major, Medical Service
Corps> Research Specialist> Walter Reed Army Medical Center> National Disaster
Medical System Federal Coordinating Center> Phone: 202-782-3636> Cell:
301-514-3975> Fax: 202-782-4360> E-mail: [EMAIL PROTECTED]> > >