Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Overview


4.5 Operations on registered jobnets

You can carry out a variety of operations on jobnets that have been registered for execution. Possible operations include changing the schedule of the jobnet, and interrupting or killing a running jobnet or job.

The following table shows the processing you can perform on jobnets and jobs that have been registered for execution.

Table 4‒3: Processes available for jobnets and jobs that have been registered for execution

No.

Process

Content

Reference

1

Cancel jobnet registration

Cancels registration of a root jobnet for execution. When registration is canceled, all results from previous executions are also deleted.

4.5.1

2

Add scheduled execution times and dates

When the schedule of a root jobnet whose status is Being held or Waiting for start time is pushed ahead, this process adds the next scheduled execution. When a root jobnet is registered for fixed execution, this process adds a schedule with a specific time and date.

4.5.2

3

Temporarily change execution time

Temporarily changes the scheduled execution start time of a unit.#1

4.5.3

4

Temporary immediate execution

Temporarily changes the scheduled execution start time of a unit to a scheduled execution start time that allows the unit to execute immediately.#1

  • With root jobnets:

    the scheduled execution start time is changed to the current time.

  • With nested jobnets:

    the scheduled execution start time is changed to the base time of the execution date.

4.5.4

5

Prohibit execution

Cancels the next scheduled execution, or the execution in a fixed schedule.

4.5.5

6

Temporarily change hold attribute

Temporarily holds or releases the next scheduled execution of a jobnet or its execution within a fixed schedule. Specify the hold attribute to rerun a job or jobnet after specific operations such as changing the execution schedule.#2

4.5.6

7

Temporarily change delay monitor

Temporarily changes the delay monitor time (in hours) of a jobnet that is waiting to execute.

4.5.7

8

Temporarily change jobnet priority

Temporarily changes the execution priority of a root jobnet that is waiting to execute.

4.5.8

9

Interrupt jobnet

Interrupts the root jobnet when the current job ends. Nested jobnets under the root jobnet are also interrupted.

Note that the interrupted jobnets are treated as having ended abnormally. If you interrupt a jobnet that is monitoring for a start condition, monitoring for a start condition is canceled.

4.5.9

10

Kill

Kills the unit being executed.#3

When you kill the root jobnet, all running jobs are killed, and the jobnet is interrupted. If you kill a root jobnet that is monitoring for a start condition, monitoring for a start condition is canceled.

4.5.10

11

Rerun

Reruns a jobnet or job. The rerun is not counted in the number of generations (execution count).

4.5.11

12

Change job status

Changes the status and return value of a job. For example, if an error occurs in the host and the status that is reported to JP1/AJS3 is not the actual status of the job, this operation changes the status to the actual status.

4.5.12

13

Specify generation when executing command

Specifies a generation whose execution registration information is to be manipulated by using a command.

4.5.13

14

Switch jobnet definition at the specified time

Automatically switches the definition of the jobnet currently being executed at the specified time by using the jobnet release function.

4.5.14

15

Temporarily change wait condition settings

Temporarily enables or disables the wait condition settings for each unit whose end is being waited for. A unit with the wait condition that all units whose end is being waited for must be disabled, starts execution immediately.

4.5.15

16

Display and re-apply temporary changes

Displays in JP1/AJS3 - View a list of temporary change information for a job or jobnet registered for execution as temporary changes, and re-applies the changes selected in the list to the job or jobnet.

4.5.16

17

Suspend root jobnet

Temporarily suspends execution of units for all generations under the root jobnet, and allows you to change definitions that are registered for execution.

4.5.17

#1

You cannot change the execution start time if the job or jobnet you specify is already running. You cannot change the execution start time if the root jobnet has already finished execution or is being rerun.

#2

If you restart JP1/AJS3 - Manager before the jobnet or job whose hold attribute you temporarily changed has finished, the status of the job or jobnet remains Being held.

#3

When processing in a Unix job successfully executes the setpgrp (set process group) system call, the processes in the process group in question cannot be canceled. To terminate processes in a process group created in this manner, using other means such as the kill command.

Organization of this section