ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahz_5.4.0.1/nls.htm

860 lines
14 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>National language support (NLS) considerations</title>
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</HEAD>
<body bgcolor="#FFFFFF">
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h2>National language support (NLS) considerations</h2>
<p>When <strong>qsh</strong> starts, it initializes internal tables
for processing commands based on the CCSID of the job. When reading
files, <strong>qsh</strong> and many utilities dynamically
translate files from the CCSID of the file to the CCSID of the job.
For everything to run correctly, you must configure your
environment as documented in the tables below.</p>
<p>A locale contains information about a language and country or region,
including how to sort and classify characters and the formats for
dates, times, numbers, and monetary values. A locale is set by
setting the LANG environment variable to the path name to a locale
object. For example, to set the locale for US English, the LANG
environment variable is set as follows:</p>
<pre>
LANG=/QSYS.LIB/EN_US.LOCALE
</pre>
<p><img src="delta.gif" alt="Start of change">
It is best to set the LANG environment variable before starting
<strong>qsh</strong>. Some utilities will not work correctly if
the locale is not valid for the CCSID and language ID of the job
as shown in the tables below.
<img src="deltaend.gif" alt="End of change"></p>
<p>There can be problems in the following situations:</p>
<ul>
<li>In an interactive session, if the CCSID of a job is different
from the CCSID of the display device, <strong>qsh</strong> does not
recognize certain special characters.</li>
<li>If there is no support for translating between the CCSID of a
script file and the CCSID of the job, then the file cannot be
opened.</li>
</ul>
<strong>Supported CCSIDs</strong>
<p>The following table shows the supported CCSIDs. It is indexed by
CCSID number. If a CCSID is not in the table, <strong>qsh</strong>
sends message 001-0072 and runs as if it was started in CCSID
37.</p>
<table border width="100%" cellpadding="5">
<tr>
<th colspan="3">Supported CCSIDs</th>
</tr>
<tr>
<th>CCSID</th>
<th>Code Page</th>
<th>Description</th>
</tr>
<tr>
<td>00037</td>
<td>00037</td>
<td>USA, Canada</td>
</tr>
<tr>
<td>00256</td>
<td>00256</td>
<td>International #1</td>
</tr>
<tr>
<td>00273</td>
<td>00273</td>
<td>Germany, Austria</td>
</tr>
<tr>
<td>00277</td>
<td>00277</td>
<td>Denmark, Norway</td>
</tr>
<tr>
<td>00278</td>
<td>00278</td>
<td>Finland, Sweden</td>
</tr>
<tr>
<td>00280</td>
<td>00280</td>
<td>Italy</td>
</tr>
<tr>
<td>00284</td>
<td>00284</td>
<td>Spain, Latin America</td>
</tr>
<tr>
<td>00285</td>
<td>00285</td>
<td>United Kingdom</td>
</tr>
<tr>
<td>00297</td>
<td>00297</td>
<td>France</td>
</tr>
<tr>
<td>00424</td>
<td>00424</td>
<td>Israel (Hebrew)</td>
</tr>
<tr>
<td>00425</td>
<td>00425</td>
<td>Arabic</td>
</tr>
<tr>
<td>00500</td>
<td>00500</td>
<td>Belgium, Canada, Switzerland</td>
</tr>
<tr>
<td>00833</td>
<td>00833</td>
<td>Korea Extended Single-byte</td>
</tr>
<tr>
<td>00836</td>
<td>00836</td>
<td>Simplified Chinese Extended Single-byte</td>
</tr>
<tr>
<td>00838</td>
<td>00838</td>
<td>Thailand Extended</td>
</tr>
<tr>
<td>00870</td>
<td>00870</td>
<td>Latin-2 Multilingual</td>
</tr>
<tr>
<td>00871</td>
<td>00871</td>
<td>Iceland</td>
</tr>
<tr>
<td>00875</td>
<td>00875</td>
<td>Greece</td>
</tr>
<tr>
<td>00880</td>
<td>00880</td>
<td>Cyrillic Multilingual</td>
</tr>
<tr>
<td>00905</td>
<td>00905</td>
<td>Turkey Extended</td>
</tr>
<tr>
<td>00918</td>
<td>00918</td>
<td>Pakistan</td>
</tr>
<tr>
<td>00933</td>
<td>00833, 00834</td>
<td>Korea Extended Mixed</td>
</tr>
<tr>
<td>00935</td>
<td>00836, 00837</td>
<td>Simplified Chinese Extended Mixed</td>
</tr>
<tr>
<td>00937</td>
<td>00037, 00835</td>
<td>Traditional Chinese Extended Mixed</td>
</tr>
<tr>
<td>00939</td>
<td>01027, 00300</td>
<td>Japan English Extended Mixed</td>
</tr>
<tr>
<td>01025</td>
<td>01025</td>
<td>Cyrillic Multilingual</td>
</tr>
<tr>
<td>01026</td>
<td>01026</td>
<td>Turkey</td>
</tr>
<tr>
<td>01027</td>
<td>01027</td>
<td>Japan Latin Extended Single-byte</td>
</tr>
<tr>
<td>01097</td>
<td>01097</td>
<td>Farsi</td>
</tr>
<tr>
<td>01112</td>
<td>01112</td>
<td>Baltic Multilingual</td>
</tr>
<tr>
<td>01122</td>
<td>01122</td>
<td>Estonian</td>
</tr>
<tr>
<td>01123</td>
<td>01123</td>
<td>Cyrllic Ukraine</td>
</tr>
<tr>
<td>01130</td>
<td>01130</td>
<td>Vietnam</td>
</tr>
<tr>
<td>01132</td>
<td>01132</td>
<td>Lao</td>
</tr>
<tr>
<td>01137</td>
<td>01137</td>
<td>Devanagari</td>
</tr>
<tr>
<td>01140</td>
<td>01140</td>
<td>USA, Canada euro</td>
</tr>
<tr>
<td>01141</td>
<td>01141</td>
<td>Germany, Austria euro</td>
</tr>
<tr>
<td>01142</td>
<td>01142</td>
<td>Denmark, Norway euro</td>
</tr>
<tr>
<td>01143</td>
<td>01143</td>
<td>Finland, Sweden euro</td>
</tr>
<tr>
<td>01144</td>
<td>01144</td>
<td>Italy euro</td>
</tr>
<tr>
<td>01145</td>
<td>01145</td>
<td>Spain, Latin America euro</td>
</tr>
<tr>
<td>01146</td>
<td>01146</td>
<td>United Kingdom euro</td>
</tr>
<tr>
<td>01147</td>
<td>01147</td>
<td>France euro</td>
</tr>
<tr>
<td>01148</td>
<td>01148</td>
<td>Belgium, Canada, Switzerland euro</td>
</tr>
<tr>
<td>01149</td>
<td>01149</td>
<td>Iceland euro</td>
</tr>
<tr>
<td>01153</td>
<td>01153</td>
<td>Latin-2 Multilingual euro</td>
</tr>
<tr>
<td>01154</td>
<td>01154</td>
<td>Cyrllic Multilingual euro</td>
</tr>
<tr>
<td>01155</td>
<td>01155</td>
<td>Turkey euro</td>
</tr>
<tr>
<td>01156</td>
<td>01156</td>
<td>Baltic Multilingual euro</td>
</tr>
<tr>
<td>01157</td>
<td>01157</td>
<td>Estonia euro</td>
</tr>
<tr>
<td>01158</td>
<td>01158</td>
<td>Cyrillic Ukraine euro</td>
</tr>
<tr>
<td>01160</td>
<td>01160</td>
<td>Thailand Extended euro</td>
</tr>
<tr>
<td>01164</td>
<td>01164</td>
<td>Vietnam euro</td>
</tr>
<tr>
<td>01388</td>
<td>00836, 00837</td>
<td>Simplified Chinese Host Data Mixed</td>
</tr>
<tr>
<td>01399</td>
<td>01399, 00300</td>
<td>Japan English Extended Mixed euro</td>
</tr>
<tr>
<td>05035</td>
<td>01027, 00300</td>
<td>Japan English Extended Mixed</td>
</tr>
<tr>
<td>05123</td>
<td>01399</td>
<td>Japan English Extended Single-byte euro</td>
</tr>
<tr>
<td>09030</td>
<td>00838</td>
<td>Thailand Extended Single-byte</td>
</tr>
<tr>
<td>13124</td>
<td>00836</td>
<td>Simplified Chinese Host Data Single-byte</td>
</tr>
<tr>
<td>28709</td>
<td>00037</td>
<td>Traditional Chinese Extended</td>
</tr>
</table>
<p><strong>Supported Languages</strong></p>
<p>The following table shows the supported languages. It is indexed
by language. In the Language field, the value in parentheses is the
value to use for the LANGID parameter of the CHGJOB CL command. In
the Country or Region field, the value in parentheses is the value to use for
the CNTRYID parameter of the CHGJOB CL command.</p>
<p>Note that there are more valid combinations of Language,
Country or Region, CCSID, and Locale than are listed in the table. For
example, there is only one entry for the Spanish language even
though it is used in more than one country or region.</p>
<p>When running Qshell, the LANGID, CNTRYID, CCSID job attributes
must be set to the values listed in the table, and the LANG
environment variable must be set to the listed locale.</p>
<table border width="100%" cellpadding="5">
<tr>
<th colspan="4" id="table">Supported Languages</th>
</tr>
<tr>
<th>Language</th>
<th>Country or Region Id</th>
<th>CCSID</th>
<th>Locale</th>
</tr>
<tr>
<td>Albanian (SQI)</td>
<td>Albania (AL)</td>
<td>00500</td>
<td>/QSYS.LIB/SQ_AL.LOCALE</td>
</tr>
<tr>
<td>Arabic (ARA)</td>
<td>Arabic Area (AA)</td>
<td>00425</td>
<td>/QSYS.LIB/AR_AA.LOCALE</td>
</tr>
<tr>
<td>Belgian Dutch (NLB)</td>
<td>Belgium (BE)</td>
<td>00500</td>
<td>/QSYS.LIB/NL_BE.LOCALE</td>
</tr>
<tr>
<td>Belgian Dutch Euro (NLB)</td>
<td>Belgium (BE)</td>
<td>01148</td>
<td>/QSYS.LIB/NL_BE_E.LOCALE</td>
</tr>
<tr>
<td>Belgian French (FRB)</td>
<td>Belgium (BE)</td>
<td>00500</td>
<td>/QSYS.LIB/FR_BE.LOCALE</td>
</tr>
<tr>
<td>Belgian French Euro (FRB)</td>
<td>Belgium (BE)</td>
<td>01148</td>
<td>/QSYS.LIB/FR_BE_E.LOCALE</td>
</tr>
<tr>
<td>Belgium English (ENB)</td>
<td>Belgium (BE)</td>
<td>00500</td>
<td>/QSYS.LIB/EN_BE.LOCALE</td>
</tr>
<tr>
<td>Brazilian Portugese (PTB)</td>
<td>Brazil (BR)</td>
<td>00037</td>
<td>/QSYS.LIB/PT_BR.LOCALE</td>
</tr>
<tr>
<td>Bulgarian (BGR)</td>
<td>Bulgaria (BG)</td>
<td>00037</td>
<td>/QSYS.LIB/BG_BG.LOCALE</td>
</tr>
<tr>
<td>Canadian French (FRC)</td>
<td>Canada (CA)</td>
<td>00500</td>
<td>/QSYS.LIB/FR_CA.LOCALE</td>
</tr>
<tr>
<td>Croatian (HRV)</td>
<td>Croatia (HR)</td>
<td>00870</td>
<td>/QSYS.LIB/HR_HR.LOCALE</td>
</tr>
<tr>
<td>Czech (CSY)</td>
<td>Czech Republic (CZ)</td>
<td>00870</td>
<td>/QSYS.LIB/CS_CZ.LOCALE</td>
</tr>
<tr>
<td>Danish (DAN)</td>
<td>Denmark (DK)</td>
<td>00277</td>
<td>/QSYS.LIB/DA_DK.LOCALE</td>
</tr>
<tr>
<td>Dutch (NLD)</td>
<td>Netherlands (NL)</td>
<td>00037</td>
<td>/QSYS.LIB/NL_NL.LOCALE</td>
</tr>
<tr>
<td>Dutch Euro (NLD)</td>
<td>Netherlands (NL)</td>
<td>01140</td>
<td>/QSYS.LIB/NL_NL_E.LOCALE</td>
</tr>
<tr>
<td>English Upper Case (ENP)</td>
<td>United States (US)</td>
<td>00037</td>
<td>/QSYS.LIB/EN_UPPER.LOCALE</td>
</tr>
<tr>
<td>Estonian (EST)</td>
<td>Estonia (EE)</td>
<td>01122</td>
<td>/QSYS.LIB/ET_EE.LOCALE</td>
</tr>
<tr>
<td>Finnish (FIN)</td>
<td>Finland (FI)</td>
<td>00278</td>
<td>/QSYS.LIB/FI_FI.LOCALE</td>
</tr>
<tr>
<td>Finnish Euro (FIN)</td>
<td>Finland (FI)</td>
<td>01143</td>
<td>/QSYS.LIB/FI_FI_E.LOCALE</td>
</tr>
<tr>
<td>French (FRA)</td>
<td>France (FR)</td>
<td>00297</td>
<td>/QSYS.LIB/FR_FR.LOCALE</td>
</tr>
<tr>
<td>French Euro (FRA)</td>
<td>France (FR)</td>
<td>01147</td>
<td>/QSYS.LIB/FR_FR_E.LOCALE</td>
</tr>
<tr>
<td>German (DEU)</td>
<td>Germany (DE)</td>
<td>00273</td>
<td>/QSYS.LIB/DE_DE.LOCALE</td>
</tr>
<tr>
<td>German Euro (DEU)</td>
<td>Germany (DE)</td>
<td>01141</td>
<td>/QSYS.LIB/DE_DE_E.LOCALE</td>
</tr>
<tr>
<td>Greek (ELL)</td>
<td>Greece (GR)</td>
<td>00875</td>
<td>/QSYS.LIB/EL_GR.LOCALE</td>
</tr>
<tr>
<td>Hebrew (HEB)</td>
<td>Israel (IL)</td>
<td>00424</td>
<td>/QSYS.LIB/IW_IL.LOCALE</td>
</tr>
<tr>
<td>Hungarian (HUN)</td>
<td>Hungary (HU)</td>
<td>00870</td>
<td>/QSYS.LIB/HU_HU.LOCALE</td>
</tr>
<tr>
<td>Icelandic (ISL)</td>
<td>Iceland (IS)</td>
<td>00871</td>
<td>/QSYS.LIB/IS_IS.LOCALE</td>
</tr>
<tr>
<td>Italian (ITA)</td>
<td>Italy (IT)</td>
<td>00280</td>
<td>/QSYS.LIB/IT_IT.LOCALE</td>
</tr>
<tr>
<td>Italian Euro (ITA)</td>
<td>Italy (IT)</td>
<td>01144</td>
<td>/QSYS.LIB/IT_IT_E.LOCALE</td>
</tr>
<tr>
<td>Japanese Katakana (JPN)</td>
<td>Japan (JP)</td>
<td>05035</td>
<td>/QSYS.LIB/JA_5035.LOCALE</td>
</tr>
<tr>
<td>Japanese Full (JPN)</td>
<td>Japan (JP)</td>
<td>13488</td>
<td>/QSYS.LIB/JA_13488.LOCALE</td>
</tr>
<tr>
<td>Korean (KOR)</td>
<td>South Korea (KR)</td>
<td>00933</td>
<td>/QSYS.LIB/KO_KR.LOCALE</td>
</tr>
<tr>
<td>Latvian (LVA)</td>
<td>Latvia (LV)</td>
<td>01112</td>
<td>/QSYS.LIB/LV_LV.LOCALE</td>
</tr>
<tr>
<td>Lithuanian (LTU)</td>
<td>Lithuania (LT)</td>
<td>01112</td>
<td>/QSYS.LIB/LT_LT.LOCALE</td>
</tr>
<tr>
<td>Macedonian (MKD)</td>
<td>Macedonia (MK)</td>
<td>01025</td>
<td>/QSYS.LIB/MK_MK.LOCALE</td>
</tr>
<tr>
<td>Norwegian (NOR)</td>
<td>Norway (NO)</td>
<td>00277</td>
<td>/QSYS.LIB/NO_NO.LOCALE</td>
</tr>
<tr>
<td>Polish (PLK)</td>
<td>Poland (PL)</td>
<td>00870</td>
<td>/QSYS.LIB/PL_PL.LOCALE</td>
</tr>
<tr>
<td>Portugese (PTG)</td>
<td>Portugal (PT)</td>
<td>00037</td>
<td>/QSYS.LIB/PT_PT.LOCALE</td>
</tr>
<tr>
<td>Portugese Euro (PTG)</td>
<td>Portugal (PT)</td>
<td>01140</td>
<td>/QSYS.LIB/PT_PT_E.LOCALE</td>
</tr>
<tr>
<td>Romanian (ROM)</td>
<td>Romania (RO)</td>
<td>00870</td>
<td>/QSYS.LIB/RO_RO.LOCALE</td>
</tr>
<tr>
<td>Russian (RUS)</td>
<td>Russia (RU)</td>
<td>01025</td>
<td>/QSYS.LIB/RU_RU.LOCALE</td>
</tr>
<tr>
<td>Serbian Cyrillic (SRB)</td>
<td>Serbia (SQ)</td>
<td>01025</td>
<td>/QSYS.LIB/SR_SP.LOCALE</td>
</tr>
<tr>
<td>Serbian Latin (SRL)</td>
<td>Serbia (SQ)</td>
<td>00870</td>
<td>/QSYS.LIB/SH_SP.LOCALE</td>
</tr>
<tr>
<td>Simplified Chinese (CHS)</td>
<td>China (CN)</td>
<td>00935</td>
<td>/QSYS.LIB/ZH_CN.LOCALE</td>
</tr>
<tr>
<td>Slovakian (SKY)</td>
<td>Slovakia (SK)</td>
<td>00870</td>
<td>/QSYS.LIB/SK_SK.LOCALE</td>
</tr>
<tr>
<td>Slovenian (SLO)</td>
<td>Slovenia (SI)</td>
<td>00870</td>
<td>/QSYS.LIB/SL_SI.LOCALE</td>
</tr>
<tr>
<td>Spanish (ESP)</td>
<td>Spain (ES)</td>
<td>00284</td>
<td>/QSYS.LIB/ES_ES.LOCALE</td>
</tr>
<tr>
<td>Spanish Euro (ESP)</td>
<td>Spain (ES)</td>
<td>01145</td>
<td>/QSYS.LIB/ES_ES_E.LOCALE</td>
</tr>
<tr>
<td>Swedish (SVE)</td>
<td>Sweden (SE)</td>
<td>00278</td>
<td>/QSYS.LIB/SV_SE.LOCALE</td>
</tr>
<tr>
<td>Swiss French (FRS)</td>
<td>Switzerland (CH)</td>
<td>00500</td>
<td>/QSYS.LIB/FR_CH.LOCALE</td>
</tr>
<tr>
<td>Swiss German (DES)</td>
<td>Switzerland (CH)</td>
<td>00500</td>
<td>/QSYS.LIB/DE_CH.LOCALE</td>
</tr>
<tr>
<td>Thai (THA)</td>
<td>Thailand (TH)</td>
<td>00838</td>
<td>/QSYS.LIB/TH_TH.LOCALE</td>
</tr>
<tr>
<td>Turkish (TRK)</td>
<td>Turkey (TR)</td>
<td>00905</td>
<td>/QSYS.LIB/TR_TR.LOCALE</td>
</tr>
<tr>
<td>Ukrainian (UKR)</td>
<td>Ukraine (UA)</td>
<td>01025</td>
<td>/QSYS.LIB/UK_UA.LOCALE</td>
</tr>
<tr>
<td>UK English (ENG)</td>
<td>United Kingdom (GB)</td>
<td>00285</td>
<td>/QSYS.LIB/EN_GB.LOCALE</td>
</tr>
<tr>
<td>US English (ENU)</td>
<td>United States (US)</td>
<td>00037</td>
<td>/QSYS.LIB/EN_US.LOCALE</td>
</tr>
</table>
<p>For more details, see the <a href="http://www-1.ibm.com/servers/eserver/iseries/software/globalization/codepages.html">iSeries Globalization IBM Code Pages</a><img src="www.gif" alt="link outside Information Center">.</p>
</body>
</html>