Job Management Partner 1/Automatic Job Management System 3 Administration Guide
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
- (2) Stopping by using JP1/AJS3 - View
(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:
The monitoring generations in Now monitoring status are automatically determined and killed, and their status changes from Now monitoring to Monitor terminated.
ajskill target-jobnet-name
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:
The execution registration of the jobnet is canceled.
ajsleave target-jobnet-name
- 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 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.
(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.
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.