Hitachi

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


6.2.24 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. In Windows Control Panel, open the Services administrative tool, and stop the following service:

    • When Standard is specified for Exec. Service of the job

      JP1/AJS3 service

    • Queueless Agent is specified for Exec. Service of the job

      JP1/AJS3 Queueless Agent service

    Cautionary note:

    In a cluster system, check the cluster settings, and also stop the JP1/AJS3 service on each logical host.

  2. Use the following method to set the environment setting parameters described in (2) below:

    • For environment setting parameters in the definition key [{JP1_DEFAULT|logical-host-name}\JP1NBQAGENT\Job]:

      Execute the following command:

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

    • For environment setting parameters in the definition key [JP1_DEFAULT\JP1QLAGENT]:

      In a text editor such as Notepad, create a configuration file that defines the environment setting parameters, and then execute the following command:

      jbssetcnf configuration-file-name

      The path of the jbssetcnf command is JP1/Base-installation-folder\bin\jbssetcnf. For details on this command, see the Job Management Partner 1/Base User's Guide.

  3. Restart the services that you stopped in step 1.

    The new settings are applied.

(2) Environment setting parameters

Table 6‒39: The 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