Hitachi

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


15.1.8 Settings for using wait conditions

When you use wait conditions to control the execution order of units that are in different jobnets, you need to enable wait conditions.

Wait conditions are disabled by default. To use wait conditions, you need to set the PREWAITUSE environment setting parameter.

Use the PREWAITEXTEND environment setting parameter to extend the wait condition function.

The following describes the procedure for using wait conditions.

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
    # /opt/jp1ajs2/bin/jajs_spmd_status
  2. Execute the following command to set the environment setting parameter described in (2) below:

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

    The new settings are applied to the configuration definition.

(2) Environment setting parameter

Table 15‒6: Environment setting parameter for specifying whether to use wait conditions

Definition key

Environment setting parameter

Explanation

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

"PREWAITUSE"=

Specifies whether to use wait conditions.

"PREWAITEXTEND"=

Extends the wait condition function.

#:

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 these environment setting parameters, see the following: