8.1.1 Stopping a jobnet that is monitoring start conditions
You can stop a jobnet with start conditions that are in the Now monitoring status by forcibly ending the jobnet.
To forcibly end a jobnet with start conditions:
-
Forcibly terminate the monitoring generations in Now monitoring status to stop monitoring start conditions.
-
Forcibly terminate the execution generations in Now running or Wait for start cond. status.
-
Cancel the execution registration of the jobnet.
You can also use a command or JP1/AJS3 - View to perform this operation.
- Organization of this subsection
(1) Stopping by using a command
To use a command to forcibly end a jobnet with start conditions that are in the Now monitoring status, and to cancel the execution registration:
-
Execute the following command:
ajskill target-jobnet-name
The monitoring generations in Now monitoring status are automatically determined and killed, and their status changes from Now monitoring to Monitor terminated.
At the same time, execution generations in Wait for start cond. status (generations whose start conditions are not satisfied or only partially satisfied) are cleared.
-
If execution generations in Now running or Wait for start cond. status remain, repeat step 1.
The execution generations in Now running status are automatically determined and killed, and their status changes from Now running to Killed. At the same time, the status of the next execution generations in Wait for start cond. status changes to Now running.
-
Repeat step 1 until the status of all execution generations in Now running status is Killed.
-
Execute the following command:
ajsleave target-jobnet-name
The execution registration of the jobnet is canceled.
- Supplementary note
-
The ajsshow command is useful for checking whether any execution generations in Now running or Wait for start cond. status remain. Execute the ajsshow command in the following format:
ajsshow -g a -f "%C %#" target-jobnet-name
In the -g option, specify a as the argument to output the execution results of all generations of the jobnet specified in target-jobnet-name.
In the -f option, specify the format identifier %C to output the status of the jobnet and the format identifier %# to output the execution ID of the jobnet.
For details about the ajsshow command, see ajsshow in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.
(2) Stopping by using JP1/AJS3 - View
To use JP1/AJS3 - View to forcibly terminate a jobnet with start conditions in Now monitoring status, and to cancel the execution registration:
-
Display the Daily Schedule window or the Monthly Schedule window of JP1/AJS3 - View.
-
In the execution result list, select the monitoring generations in Now monitoring status. Next, choose Operations and then Kill.
The monitoring generations in Now monitoring status are killed, and their status changes from Now monitoring to Monitor terminated.
At the same time, execution generations in Wait for start cond. status (generations whose start conditions are not satisfied or only partially satisfied) are cleared.
-
If execution generations in Now running or Wait for start cond. status remain, in the execution result list, select the execution generations in Now running status. Next, choose Operations and then Kill.
The execution generations in Now running status are killed, and their status changes from Now running to Killed. At the same time, the status of the next execution generations in Wait for start cond. status changes to Now running.
-
Repeat step 3 until the status of all execution generations in Now running status is Killed.
-
In the list area of the JP1/AJS3 - View window, select the jobnets whose execution registration you want to cancel. Next, choose Operations and then Cancel Registration.
The execution registrations of the selected jobnets are canceled.
(3) Stopping by using Web GUI (Job Portal)
To use Web GUI (Job Portal) to forcibly terminate a jobnet with start conditions in Now monitoring status, and to cancel the execution registration:
-
In the List Screen of the Web GUI (Job Portal), select a jobnet for which you want to unregister execution, and then click the Execution Generation button.
The Execution Generation dialog box is displayed.
-
Select the monitoring generations in Now monitoring status, and then click the Kill button.
The monitoring generations in Now monitoring status are killed, and their status changes from Now monitoring to Monitor terminated.
At the same time, execution generations in Wait for start cond. status (generations whose start conditions are not satisfied or only partially satisfied) are cleared.
-
From the Change Plan drop-down list, select Prohibit Execution of Retention Generations.
Scheduled executions of all execution generations in Wait for start cond. status are unregistered at one time, and the status of these execution generations changes to Killed.
-
Select the remaining execution generations in Now running, Being held, and other statuses, and then click the Kill button.
The execution generations in Now running, Being held, and other statuses are killed, and their statuses change to Killed.
-
Click Close button.
The Execution Generation dialog box closes and the List Screen appears.
-
In the List Screen, select the jobnets for which you want to unregister execution, and then select Leave.
The Cancel Registration dialog box appears.
-
In the Cancel Registration dialog box, select the All radio button in the Cancel method area, and then click the OK button.
The execution registrations of the selected jobnets are canceled.