Hitachi

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


15.3.2 Setting the event order option

When an event job has start conditions, events that trigger the job might occur in succession but be processed in a different order, depending on the communication conditions. You might want to preserve the actual order of events that satisfied the start conditions if, for example, the event information will be passed to the job. To do this, use the event order option. The following describes how to enable the event order option.

Note that this option must be set on all agent hosts on which event jobs will be executed.

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 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.

(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 parameter described in (2) below.

  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.

(2) Environment setting parameter

Table 15‒39: Environment setting parameter used to set the event order option

Definition key

Environment setting parameter

Explanation

[{JP1_DEFAULT|logical-host}\JP1AOMAGENT]#

"EventSequential"=

Specifies whether the event order option is enabled.

#:

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 2.4.2(21) EventSequential in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 2.