Hitachi

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


15.2.10 Setting the action to be taken if the value of a macro variable cannot be passed

If the value of a macro variable cannot be passed to a job in a jobnet being executed, you can take either of two actions for the jobnet. One is to place the jobnet in Failed to start status, and the other is to continue execution by using the macro variable name as a string value.

The following describes how to set the action to be taken if the value of a macro variable cannot be passed when execution of a jobnet is attempted.

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‒28: Environment setting parameter used to set the action to be taken if the value of a macro variable cannot be passed

Definition key

Environment setting parameter

Explanation

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

"MACROCHANGEFAIL"=

Defines the action to be taken if the value of a macro variable specified in an event job or specified during registration for execution cannot be passed.

#:

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.11.2(3) MACROCHANGEFAIL.