Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1


15.3.1 Changing the settings related to the size of the log for event jobs to match operational requirements

This subsection describes how to change the settings related to the size of the log for event jobs to match operational requirements. We recommend that you specify the settings so that log data for two or three days is saved. Log data for at least 24 hours must be saved.

For details about estimating the size of log data, see 3.4.3 Estimating the size of the log information output by event jobs in the Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide.

The following describes how to change the settings related to the size of the log for event jobs.

Organization of this subsection

(1) Definition procedure

(a) For a standard configuration

  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 environment setting parameters:

    jajs_config -k definition-key "parameter-name-1"=value-1
    ["parameter-name-2"=value-2] 
    ["parameter-name-3"=value-3] ...

    You can specify only one definition key. If you want to set environment setting parameters for different definition keys, you must execute the jajs_config command for each definition key.

    For the environment setting parameters to be set, see 3.4.3 Estimating the size of the log information output by event jobs in the Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide.

  3. Restart JP1/AJS3.

    The new settings are applied.

(b) For a compatible ISAM configuration

  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. In an editor such as vi, create a configuration file that defines the environment setting parameters.

    For the environment setting parameters to be set, see 3.4.3 Estimating the size of the log information output by event jobs in the Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide.

  3. Save the file and then execute the following command:

    jbssetcnf configuration-file-name

    The path of the jbssetcnf command is /opt/jp1base/bin/jbssetcnf. For details on this command, see the Job Management Partner 1/Base User's Guide.

  4. Restart JP1/AJS3.

    The contents of the configuration file are applied to the system.