Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Configuration Guide


15.3.6 Resuming event jobs that stopped when the JP1/AJS3 service stopped

For event jobs, JP1/AJS3 provides an option that enables event jobs that have stopped when the JP1/AJS3 service stopped to resume in the same status from the point at which they stopped.

The following describes how to enable this option. For details about the functionality of this option, see 8.2.1 Continuing the execution of event jobs if the JP1/AJS3 service stops in the JP1/Automatic Job Management System 3 Administration Guide.

Organization of this subsection

(1) Definition procedure

  1. Stop the JP1/AJS3 service.

    Execute the following commands to confirm that all processes have stopped:

    # /etc/opt/jp1ajs2/jajs_stop#1
    # /opt/jp1ajs2/bin/jajs_spmd_status
    #1:

    Confirm that automatic termination has been set.

  2. Execute the following command to set the environment setting parameter described in (2) below:

    jajs_config -k "definition-key" "parameter-name"=value
  3. Restart JP1/AJS3.

    The new settings are applied.

(2) Environment setting parameter

Table 15‒52: Environment setting parameter used to enable event jobs that have stopped when the JP1/AJS3 service stopped to resume

Definition key

Environment setting parameter

Explanation

  • For all scheduler services

    [{JP1_DEFAULT|logical-host}\JP1AJS2\SCHEDULER\EV\MANAGER]#

  • For a specific scheduler service

    [{JP1_DEFAULT|logical-host}\JP1AJSMANAGER\scheduler-service\EV\MANAGER]#

"EvJobExecContinue"=

Specifies whether to enable the execution of stopped event jobs to resume.

#:

The specification of the {JP1_DEFAULT|logical-host} part depends on whether the host is a physical host or a logical host. For a physical host, specify JP1_DEFAULT. For a logical host, specify the logical host name.

For details about the definition of this environment setting parameter, see 20.6.2(6) EvJobExecContinue.