Hitachi

JP1 Version 12 JP1/Data Highway - Server Configuration and Administration Guide


8.3.3 Exit codes

The exit codes to be output by command execution are shown below.

In Windows, you can refer to the exit code value by using the environment variable ERRORLEVEL immediately after executing a JP1/DH - Server administrator command. For example, if you execute the echo %ERRORLEVEL% by using the command prompt immediately after you executed a command, you can output the exit code to the standard output. In Linux, execute echo $? by using the console to output the exit code to the standard output.

Table 8‒2: List of exit codes

No.

Exit code

Description

1

0

Indicates that the command execution process ended normally.

2

2

Ended by suspension

3

3

Ended by delivery denial

4

4

Indicates that the command execution process ended with a warning. Indicates that an abnormal event occurred in some part of the process but the rest of the process continued.

5

8

Indicates that the command execution process was terminated because another JP1/DH - Server administrator command had already been activated.

6

12

Ended by cancellation

7

16

Indicates that the command execution process is terminated abnormally. The unfinished part of the process after the error occurrence is not executed. The error details are output to a log file.

8

32

Indicates that Java VM is terminated abnormally.

9

64

Indicates that the Java execution process failed because there was an error in the path specified for the environment variable.