8.3.2 Changing wait conditions without canceling registration
Using either of the following methods, you can change the wait conditions of a unit in a jobnet that is already running without unregistering the jobnet:
-
Suspend the unit with wait conditions
Suspend the unit and then redefine its wait conditions. For details about suspending a unit, see 4.5.17 Changing job and jobnet definitions without unregistering the jobnet in the manual JP1/Automatic Job Management System 3 Overview.
-
Release the root jobnet
Release the root jobnet and change its wait conditions in either of the following ways:
- Release the root jobnet containing the unit with wait conditions
-
Make a release entry for a predefined root jobnet to be switched in. As the release target jobnet, specify the root jobnet that contains the unit with wait conditions that you want to change. Once the release takes place, the root jobnet will run using the jobnet definition of the predefined release source jobnet and the wait condition settings will be replaced.
- Release the root jobnet containing the unit whose end is being waited for
-
Make a release entry for a predefined root jobnet to be switched in. As the release target jobnet, specify the root jobnet containing the unit whose end is being waited for. Once the release takes place, the root jobnet will run using the jobnet definition of the predefined release source jobnet.
If the definition of the release source jobnet does not contain a unit whose name matches that of the unit whose end is being waited for, after the release the unit with wait conditions will terminate abnormally due to an error in the definition of the unit whose end is being waited for. In order to change the wait condition in this case, you must make a release entry for the root jobnet containing the unit with wait conditions. Specify the same release time as for the root jobnet containing the unit whose end is being waited for.
When you set a release entry for the root jobnet containing the unit whose end is being waited for, the system recreates the execution schedules from the release time onward. This means that no schedule exists for a short time after the release time. As a result, the unit with wait conditions might sometimes start running in accordance with the option you selected in If not waiting for any generations for the particular unit whose end is being waited for. Make sure the root jobnet containing the unit whose end is being waited for will be released before the unit with wait conditions starts running.
For details about releasing a jobnet, see 7.3 Switching a jobnet definition while the jobnet is registered for execution.