Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Overview


4.5.15 Temporarily changing the wait condition settings for a jobnet or job

You can temporarily enable or disable the wait condition settings specified for a jobnet or job.

Wait conditions are used to control the execution order of jobnets and jobs that are managed by the same scheduler service. A unit with wait conditions set waits for the termination of other units called units whose end is being waited for, after which it can start execution. For details about wait conditions, see 2.2.5 Using wait conditions to control the order of unit execution in the JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide.

When units with wait conditions set are registered for execution, the units start waiting for units whose end is being waited for to finish execution. (Multiple units whose end is being waited for can be set for one unit with wait conditions.) For a unit with wait conditions, if waiting for all units whose end is being waited for has been disabled, the unit immediately starts execution.

Also, you can re-enable waiting that you have disabled or re-enable the waiting of a unit that has completed waiting and has already ended. When a unit with wait conditions is re-executed after waiting has been enabled, the unit starts waiting again.

Whether to enable or disable wait conditions can be set individually for each of the units whose end is being waited for. If multiple units whose end is being waited for are set for one unit with wait conditions, you can enable or disable the waiting for only specific units whose end is being waited for.

For example, there might be a unit with wait conditions that you want to start when one of the units whose end is being waited for has terminated abnormally. In this case, if the unit whose end is being waited for has terminated abnormally, you can immediately start the unit with wait conditions by preventing it from waiting for the unit whose end is being waited for. Also, there might be a unit with wait conditions that abnormally terminates and you want the unit to wait for a unit whose end is being waited for again when it is rerun. To do this, you can enable waiting before the unit is rerun.

You can temporarily change wait condition settings from the GUI or by using the ajsplan command. For the GUI-based procedure, see 9.16 Temporarily enabling or disabling wait conditions in the JP1/Automatic Job Management System 3 Operator's Guide. For the command-based procedure, see ajsplan in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.