Information about child job monitoring on IBM i agent joblog
If you include the child job monitoring on IBM i agent, as described in the section Child job monitoring on IBM i agents, you can see information related to child job monitoring on the IBM i agent joblog.
Otherwise the information about the child job monitoring is not present in the joblog.
Examples
This example shows the information
related to child job monitoring included at job level for the IBMI35C job
on the agent D400. The joblog shows the final status
of 4 child jobs started from the submitted native command:
===============================================================
= JOBLOG HEADER
=
= Occurrence name : AS400PGMCHILD
= Occurrence IA : 2012/10/29 21:23
= Job name : IBMI35C
= Work station : D400
= Operation number: 002
= Start time : 2012/10/31 10:23
= End time : 2012/10/31 10:23
= Process ID : 375602
= Duration : 0.00.10
= Status : ERROR
= Return code : 30
= Hostname : NC117025.ROMELAB.IT.IBM.COM
=
===============================================================
The Dynamic Agent submitter-monitor job is qualified as:
JobName=DYNAMICMON JobUser=ZOSDYN JobNumber=375602
Here follows the user command string
<CALL PGM(MINERMA/SBM4JOBS) :CHILDS>
2012/10/31 10:23:27.893 - Dynamic Agent job submitted the User Command
CALL PGM(MINERMA/SBM4JOBS)
The FOLLOWING 4 JOBS STARTED under the submitted User Command
JobName=ZOSDYN JobUser=ZOSDYN JobNumber=375607
JobName=ZOSDYN JobUser=ZOSDYN JobNumber=375609
JobName=ZOSDYN JobUser=ZOSDYN JobNumber=375611
JobName=ZOSDYN JobUser=ZOSDYN JobNumber=375612
Message CPF1241 (Success) received on MsgQueue ZOSDYN QUSRSYS
for the job ZOSDYN ZOSDYN 375607
Message CPF1240 (Abend) received on MsgQueue ZOSDYN QUSRSYS
for the job ZOSDYN ZOSDYN 375609
Message CPF1241 (Success) received on MsgQueue ZOSDYN QUSRSYS
for the job ZOSDYN ZOSDYN 375611
Message CPF1241 (Success) received on MsgQueue ZOSDYN QUSRSYS
for the job ZOSDYN ZOSDYN 375612
*** END codes gathered by the Monitor job ***
> END Status Code (Status): 0
> PROGRAM Return Code (Prc): 0
> USER Return Code (Urc): 0
Urc was retrieved through SYSAPI
2012/10/31 10:23:37.904 - Dynamic Agent job ended monitoring the User Command
*** Return Code for submitted Command is 30 ***
*** job(s) started under User Command abended ***
This
example shows the joblog for the IBMI35C job on the
agent P400 when child job monitoring is excluded
at job level:
===============================================================
= JOBLOG HEADER
=
= Occurrence name : AS400PGMNOCHILD
= Occurrence IA : 2012/11/07 03:49
= Job name : IBMI35NC
= Work station : P400
= Operation number: 002
= Start time : 2012/11/07 16:48
= End time : 2012/11/07 16:48
= Process ID : 491329
= Duration : 0.00.05
= Status : COMPLETED
= Return code : 0
= Hostname : NC117025.ROMELAB.IT.IBM.COM
=
===============================================================
The Dynamic Agent submitter-monitor job is qualified as:
JobName=DYNAMICMON JobUser=ZOSDYN JobNumber=491329
Here follows the user command string
<CALL PGM(MINERMA/SBM4JOBS) :NOCHILDS>
2012/11/07 16:48:50.631 - Dynamic Agent job submitted the User Command
CALL PGM(MINERMA/SBM4JOBS)
As per user choice, NO job started under the submitted command will be monitored
*** END codes gathered by the Monitor job ***
> END Status Code (Status): 0
> PROGRAM Return Code (Prc): 0
> USER Return Code (Urc): 0
Urc was retrieved through SYSAPI
2012/11/07 16:48:55.685 - Dynamic Agent job ended monitoring the User Command
*** Return Code for submitted Command is 0 ***
*** User Command ended successfully ***