Topic
  • No replies
SystemAdmin
SystemAdmin
1143 Posts

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.