Hitachi

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


15.2.22 Operation settings when job result file transfer fails

In JP1/AJS3, the job result file (standard output file or standard error output file) is transferred from the agent host to the manager host when a job process finishes.

If the transfer fails, the job status is set to Ended abnormally because the job result file cannot be checked on the manager host. Therefore, even though the job process has finished normally, the job status is treated as Ended abnormally because of the failure to transfer the job result file. However, note that in this state, you can set the job status to Ended normally by changing the operation settings after the failure.

The following is the procedure for specifying the settings.

Organization of this subsection

(1) Definition procedure

  1. Stop the JP1/AJS3 service.

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

    - When Standard is specified as Exec. Service of the job

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

    Confirm that automatic termination has been set.

    - When Queueless Agent is specified as Exec. Service of the job (when the job is a queueless job)

    # /opt/jp1ajs2/bin/ajsqlstop
    # /opt/jp1ajs2/bin/ajsqlftpstop#1
    # /opt/jp1ajs2/bin/ajsqlstatus
    #1:

    This command must be executed only on JP1/AJS3 - Manager.

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

    jajs_config -k "definition-key" "parameter-name"=value

    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.

  3. Restart JP1/AJS3.

    The new settings are applied to the configuration definition.

(2) Environment setting parameters

Table 15‒42: Environment setting parameter for operation settings when the transfer of job result files fail

Definition key

Environment setting parameter

Explanation

[{JP1_DEFAULT|logical-host}\JP1NBQAGENT\Job]#1

"IgnoreResultFileError"=

Operation to be executed if an error occurs during the transfer processing for a job result file if Basic is specified for the service that is to execute the job

[JP1_DEFAULT\JP1QLAGENT]#2

"IgnoreResultFileError"=

Operation to be executed if an error occurs during the transfer processing of a job result file if Queueless is specified for the service that is to execute the job

#1:

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.

#2:

This setting applies to both physical and logical hosts.

For details about the definition of these environment setting parameters, see the following:

(3) Notes