7.5 Notes on using a recovery unit
The following provides precautions for defining a recovery unit.
-
Even if a recovery unit ends normally, the jobnet containing the recovery unit is treated as having ended abnormally.
-
Only a recovery unit can be defined as the succeeding unit to another recovery unit. If you define a normal unit as the succeeding unit to a recovery unit, the normal unit is not executed.
-
A unit defined as the succeeding unit of a recovery unit is not executed when the jobnet executes normally. It is executed only after the preceding recovery unit is executed due to an abnormal end, and the recovery unit ends normally.
-
A warning issued by a recovery unit or the abnormal status of a recovery unit does not affect the status of upper-level jobnets. However, if a recovery jobnet starts or ends later than expected, the statuses of upper-level jobnets are set as delayed.
-
The following table shows the status of the preceding unit and whether a recovery unit can be executed.
Table 7‒1: Whether a recovery unit can be executed depending on the status of the preceding unit No.
Status of preceding unit
Whether a recovery unit can be executed
1
Not sched. to exe.
N
2
Wait for start time
N
3
Wait for prev. to end
N
4
Being held
N
5
Waiting to execute
N
6
Now queuing
N
7
Not executed + Ended
N
8
unexec-W
N
9
Bypassed
N
10
Now running
N
11
Running + Abend
N
12
Running + Warning
N
13
Ended normally
N
14
Normal end + False
N
15
Ended with warning
N
16
Ended abnormally
Y#
17
abnormal-WR
Y#
18
Skipped so not exe.
N
19
Invalid exe. seq.
Y#
20
Interrupted
Y#
21
Killed
Y#
22
kill-WR
Y#
23
Failed to start
Y#
24
fail-WR
Y#
25
Unknown end status
N
26
unknown-WR
N
27
Shutdown
N
28
Wait for start cond.
--
29
Now monitoring
--
30
Unmonitored + Ended
--
31
Monitor terminated
--
32
Interrupted monitoring
--
33
Monitor-end normal
--
- Legend:
-
Y: The recovery unit can be executed.
N: The recovery unit cannot be executed.
--: No status exists as the status of the preceding unit.
- #
-
If the JP1/AJS3 service is restarted in warm-start mode or disaster-recovery-start mode, or if the root jobnet is interrupted or killed, the recovery unit will not be executed even if the preceding job ends with an abnormal status.