Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Data Highway - Automatic Job Executor Operation manual


4.4.2 How to check the custom job execution result

Organization of this subsection

(1) The return code of the DH custom job

You can confirm the result of running of a DH custom job by the return code from a DH custom job.

You can see the return code by the [Jobnet Monitor] window of JP1/AJS3 - View.

For details, see the manual Job Management Partner 1/Automatic Job Management System 3 System Design (Work Tasks) Guide Checking the return code of a job.

Figure 4‒9: The return code of [Monitor Details] dialog box

[Figure]

The detail of code and content of return codes of DH custom job are as follows:

Table 4‒8: The codes and contents of the return codes of DH custom job.

Return code

Contents

0

The DH custom job ended normally.

If the DH custom job is a Receive Custom Job, the DH custom job received all files.

1

The DH custom job ended with warning.

This code is returned when the following condition is satisfied:

  • The custom job is a Receive Custom Job.

  • There is no file that the custom job receives.

  • "Ended with Warning" is selected for "Behavior in the state without a file / folder to receive" in the custom job.

2

The DH custom job ended in the state of the suspended. You have to rerun the DH custom job, because The data transmission is not completed.

3

The DH custom job ended, because transfer denied. You have to rerun the DH custom job, after waiting for a refusal state of the transfer to be removed in the Data Highway - Server side.

4

The DH custom job ended with warning.

  • This code is returned when the following condition is satisfied:

  • Some tasks ended abnormally but other tasks ended normally.

8

The DH custom job doesn't be executed because of another DH custom job already be running.

16

The file transfer command ended abnormally.

32

Java VM ended abnormally.

64

Java VM could not be run. Confirm the folder name which you appointed in the "install destination folder of library that is used by JP1/DH -AJE (Job Execution) <CmdJreHome>" of Environment configuration file(config.xml).

200

An error occurred in the interface between JP1/AJS3 - Agent (or JP1/AJS3 - Manager) and JP1/DH - AJE.

201

An attempt to read the environmental configuration file (config.xml) has failed.

202

An attempt to output a log has failed.

203

An attempt to output a command property file has failed.

204

The custom job could not execute the file transfer command.

The causes are as follow:

  • An attempt to output the message file was failed.

  • The environmental configuration file was invalid.

205

An attempt to reading or writing the file that is used by the system has failed.

206

The fatal failure occurred in JP1/DH - AJE.

207

The failure that prevents running of the file transfer command has occurred in JP1/DH - AJE.

(2) Execution Result Details

You can see the information that DH custom job has outputted on the [Execution Result Details] dialog box.

The [Execution Result Details] dialog box is displayed by clicking the [Details...] button of the [Monitor Details] dialog box.

Figure 4‒10: The [Execution Result Details] dialog box

[Figure]

The result of Send or Receive is displayed as the [Execution Result Details].

(a) When the execution of the custom job has ended normally:

  • Send Custom Job

    The message that file transfer is ended normally is displayed.

    The following figure is an example:

    Figure 4‒11: An example the [Execution Result Details] dialog box when Send has succeeded

    [Figure]

  • Receive Custom Job

    The message that file transfer is ended normally is displayed.

    In addition, file names and folder names that the custom job has received is displayed.

    The following figure is an example:

    Figure 4‒12: An example the [Execution Result Details] dialog box when Receive has succeeded

    [Figure]

(b) When the execution of the custom job has failed:

The error message is displayed.

The following figure is an example:

Figure 4‒13: An example the [Execution Result Details] dialog box when a custom job has failed

[Figure]