Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


2.2.4 Encoding used in JP1/Advanced Shell

You must code job definition script files and environment files used in JP1/Advanced Shell using the encoding that matches the value of the LANG environment variable in the environment in which JP1/Advanced Shell is run. If a different encoding is used, operation cannot be guaranteed. If you will execute the same job definition script file on different OSs, use an encoding that is supported by all the OSs to be used.

In UNIX, the language and encoding in which messages are output by JP1/Advanced Shell are determined by the value of the LANG environment variable.

The following table shows the values of the LANG environment variable and the encodings for job definition script files and environment files that are specified when JP1/Advanced Shell is used.

Table 2‒10: Encodings corresponding to the LANG environment variable values

OS

Value of LANG environment variable

Encoding for job definition script files and environment files

Windows

--

Shift-JIS

Linux

ja_JP.UTF-8

UTF-8

AIX

Ja_JP

ja_JP

JA_JP

JA_JP.UTF-8

Shift-JIS

EUC

UTF-8

UTF-8

HP-UX

ja_JP.SJIS

ja_JP.eucJP

ja_JP.utf8

Shift-JIS

EUC

UTF-8

Solaris

ja_JP.PCK

ja

ja_JP.UTF-8

Shift-JIS

EUC

UTF-8

Legend:

--: Not applicable