When all threads of a batch program complete, a common routine
is called. The following flowchart provides a schematic of this routine's
logic:
The following points summarize important concepts illustrated in
the flowchart:
- The batch job's status is changed to Ended.
- The system checks if all threads were successful:
- If at least one thread fails,
- An email is sent (if an email address is defined on the batch
job request).
- The batch run's status is changed to Error.
- If all threads are successful,
- An email is sent (if an email address is defined
on the batch job request).
- The batch run's status is changed to Complete.
Copyright © 2000, 2015, Oracle and/or its affiliates. All rights reserved. Documentation build: 2.19.2015 16:18:51 [F1_1424305131000]