Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
SystemAdmin
SystemAdmin
1143 Posts
ACCEPTED ANSWER

Pinned topic Limitation of error code on exception in stored procedure

‏2013-04-01T13:38:15Z |
Hi,
I have a stored procedure which is calling a java jar using "SYSTEM" command. This jar is returning an error code on exception using the "exit(errorCode)" command.
If the error code is lower than 256, I can find in the stored procedure the correct error code (in a smallint variable). Otherwise, a random error code is returned. Is there any limitation causing this behavior ?
Thanks.