Thanks,
Darq
Any ideas appreciated,
Darq
Any ideas appreciated,
Darq>>
How you check the success/filaure of a stored procedure depends very much
on what DBMS you are using.. knowing the version of PB would help too.
Also.. since stored procedures can be called multiple ways, how are you
calling this one?
As to why you're getting a 100. Have you checked the value of SQLCODE
before you call the stored procedure? It just occurs to me that it might
already be 100 and the call to the stored procedure isn't effecting it at
all.
On 11 Feb 2004 09:03:15 -0800,
in sybase.public.powerbuilder.general
- - -
Andy [TeamSybase]
Submit Sybase product enhancement requests via:
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
Techwave 2003 - http://www.sybase.com/techwave2003
International Sybase User Group (ISUG) - http://www.isug.com
CodeXchange - http://powerbuilder.codeXchange.sybase.com/
"If a stored procedure does NOT return a result set,
Sqlca.Sqlcode will then be 100, which means no result set.
In this case the stored procedure is executed ok. To test if
a stord procedure fails, always check for Sqlca.Sqlcode =
-1."
Thanks for the ideas.
steve
[TeamSybase]