Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 for Enterprise Applications Description, User's Guide and Reference


2.2.3 Setting the language type (Linux)

This setup need only be performed when you are using Linux.

You can output messages in English or Japanese. To specify the language type, use environment variable LANG. The following table describes the available character code sets and the values that environment variable LANG may take.

Table 2‒5: Available character codes and environment variable LANG values

OS

Available character code

Environment variable LANG value

Linux

Japanese

Shift JIS code

ja_JP.SJIS or ja_JP.sjis#

UTF-8 code

ja_JP.UTF-8

English

C

#: Use SUSE Linux only.

Important
  • If ja_JP.UTF-8 is set for the environment variable LANG in Linux, English is used as the language type.

  • When you run this product, it checks the value of the LANG environment variable and switches the operating language of the program accordingly. If you want to change the value of the LANG environment variable of this product while an operation is running, do so when the operation has stopped.

  • If you change the value of the LANG environment variable of this product while an operation is running, check and, if necessary, revise the following setting values:

    - The setting value of the interconnection language with the SAP system (the setting value of the -l option of the respective commands)

    - The setting value of the SAP code page (the setting value of the Codepage key in the Command section of the environment file)

  • If any other value is set for LANG, English is used as the language type.

  • If different character codes are used for the JP1/AJS3 for EAP language environment and the R/3 language environment, the information that is obtained from the R/3 system might be displayed incorrectly (except for when Japanese UTF-8 code is used as the character code in Linux).

  • To use Japanese UTF-8 code as the character code in Linux, specify 8000 as the Shift JIS code page number for either the environment variable SAP_CODEPAGE or the Codepage key in the Command section of the environment settings file. For details about how to specify the Shift JIS code page number, see 2.2.1 Setting the operating environment for JP1/AJS3 for EAP (job control). Specify ja_JP.UTF-8 or ja_JP.utf8 for the environment variable LANG of the command execution environment.

  • If you handle Japanese character input data by using Japanese UTF-8 code as the character code in Linux, the command argument is converted to Shift JIS. For this reason, make sure to note the specified length of the character string.

    If Japanese is the selected language type, JP1/AJS3 for EAP can use the following characters:

    - ASCII/JIS Roman characters

    - One-byte katakana characters

    - JIS X 0208-1990 characters

    If the character code for JP1/AJS3 for EAP is Japanese UTF-8, JP1/AJS3 for EAP cannot use the following characters:

    tilde, two vertical lines, dash, cent, pound, negation sign, backslash, underline, yen, overline

    Also, JP1/AJS3 for EAP cannot use external characters, platform-dependent characters, or the newly-defined level 3 and level 4 kanji characters in the JIS 2004 standard.

  • If you want to use Japanese UTF-8 code as the character code, both JP1/Base and JP1/AJS3 on the same device must be run in a UTF-8 environment.

    To run JP1/Base in a UTF-8 environment, you must change the settings. For details about how to change the settings, see Setting the language (for UNIX) of the manual JP1/Base User's Guide.

    You must also change the settings to run JP1/AJS3 in a UTF-8 environment. For details about how to change the settings, see setting the language environment of the manual JP1/Automatic Job Management System 3 Configuration Guide or migration to a UTF-8 environment of the manual JP1/Automatic Job Management System 3 System Design (Configuration) Guide.