AnsweredAssumed Answered

JOBF & RETCODE

Question asked by Nicolas on Sep 26, 2016
Latest reply on Sep 26, 2016 by Wolfgang_Brueckler_1288
Hello,

how to recover the return code for a JOBF.
for testing, i create un JOBF where FT_SRC_FILE does not exist.

In Post Process of JOBF
:SET &RUNNR# = SYS_ACT_PARENT_NR()
:SET  &RETCODE# = GET_UC_OBJECT_STATUS(,&RUNNR#,)
: PRINT "Code retour = &RETCODE#"


Report :
2016-09-26 10:49:21 - U0020408 Code retour = 0

But on statistique : ENDED_NOT_OK


Does someone have an idea ??

Thanks






Outcomes