When I am trying to run the code coverage command CODECOV
from the IBM i command line I get the error: Application error. CPF2407 unmonitored by CODECOV at statement 0000000003, instruction X’0000′
.
Additional message information Message ID . . . . . . : CEE9901 Severity . . . . . . . : 30 Message type . . . . . : Diagnostic Date sent . . . . . . : 09/09/24 Time sent . . . . . . : 10:30:11 Message . . . . : Application error. CPF2407 unmonitored by CODECOV at statement 0000000003, instruction X’0000′. Cause . . . . . : The application ended abnormally because an exception occurred and was not handled. The name of the program to which the unhandled exception is sent is CODECOV QSYSUTILS sendCCAMessage. The program was stopped at the high-level language statement number(s) 0000000003 at the time the message was sent. If more than one statement number is shown, the program is an optimized ILE program. Optimization does not allow a single statement number to be determined. If *N is shown as a value, it means the real value was not available. Recovery . . . : See the low level messages previously listed to locate the cause of the exception. Correct any errors, and then try the request again.
Further looked at the job log, commands logged CODECOV CMD(CALL PGM(TESTLIB/ZADDH)) MODULE((ZADDH *ALL *ALL)) OUTDIR(‘/home/admin’)
Object QRSEMSGS in library *LIBL not found. Message file QRSEMSGS in *LIBL not found. Error found on STRCCA
command. Errors occurred in command. Message file QRSEMSGS in *LIBL not found. Message file QRSEMSGS in *LIBL not found. Application error. CPF2407 unmonitored by CODECOV at statement 0000000003, instruction X’0000′
.
Please add the
QDEVTOOLS
library to your library list at the top. Then try to run your program again.ADDLIBLE LIB(QDEVTOOLS) POSITION(*FIRST)