JVA0122 Error
I am getting following java error when running a job .
" Java program completed with exti code 1
Function Check. JVA0122 unmonitored by CS_ASSIGN at statement 1000, instruction X'0016'.
JVA0122 recieved by CS_ASSIGN at 1000. (C D I R)."
Does anyone know what might be causing this error and how to resolve it. Thanks!
[350 byte] By [
suketu9a] at [2007-10-2 14:16:55]

This appears to be the standard (iSeries) error message sent to the calling program when the return code is negative (ie an unexpected error occurred).
In my testing this happens when a "return;" code is stepped on without setting the System.exit(n) where n = a numeric value.
When I searched IBM iSeries online books, I get nothing to tell me to examine the message.
However, with a simple MONMSG(JVA0122) -or- MONMSG(CPF0000) you can get "around" this error. This does not 'fix' the problem in the .class tho, and you may want to trap this occurrance and perfom some actions to allow for reviewing the true issue.
Hope this helps,