ibm-information-center/dist/eclipse/plugins/i5OS.ic.nls_5.4.0.1/rbagsinstalllocales.htm

121 lines
6.7 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Install and enable locales" />
<meta name="abstract" content="If you are installing a new release, you can request that library QSYSLOCALE be installed on the system at that time." />
<meta name="description" content="If you are installing a new release, you can request that library QSYSLOCALE be installed on the system at that time." />
<meta name="DC.Relation" scheme="URI" content="rbagsinstallconfig.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagslocaleover.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagssyssuplocalesourcedef.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagslocaleover.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagslocale.htm" />
<meta name="DC.Relation" scheme="URI" content="rbagslocale.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbagsinstalllocales" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Install and enable locales</title>
</head>
<body id="rbagsinstalllocales"><a name="rbagsinstalllocales"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Install and enable locales</h1>
<div><p>If you are installing a new release, you can request that library
QSYSLOCALE be installed on the system at that time.</p>
<p>To install library QSYSLOCALE at a later time, type GO LICPGM and press
the Enter key. Scroll until you find <var class="varname">Extended NLS Support</var>.
Select option 1 to install <var class="varname">Extended NLS Support</var>.</p>
<p>Locales can be enabled on i5/OS™ by using system values or user profiles.</p>
<div class="section"><h4 class="sectiontitle">Enable locales with system values</h4><p>Two system values
are related to locales:</p>
<dl><dt class="dlterm">QLOCALE</dt>
<dd>The system value specifying the locale object. The default is *NONE. Other
possible values are: <ul><li>*C <p>The C locale is assigned for this user (same result as using *POSIX)</p>
</li>
<li>*POSIX <p>The POSIX (Portable Operating System Interface for Computer
Environments) locale path name is assigned for this user.</p>
</li>
<li>locale path name <p>The path name of the locale to be assigned for this
user.</p>
</li>
</ul>
</dd>
<dt class="dlterm">QSETJOBATR</dt>
<dd>A system value that sets job attributes at job start time.
The default is *NONE. The following values indicate the job attributes that
are to be set from the locale object specified by QLOCALE: <ul><li>*CCSID (Coded character set identifier) <p>The CCSID associated with a
locale when the locale object is created.</p>
</li>
<li>*DATFMT (Date format) <p>The date format is determined from the locale
object.</p>
</li>
<li>*DATSEP (Date separator) <p>The date separator is determined from the
locale object.</p>
</li>
<li>*SRTSEQ (Sort sequence) <p>The sort sequence is determined from the locale
object</p>
</li>
<li>*TIMSEP (Time separator) <p>The time separator is determined from the
locale object.</p>
</li>
<li>*DECFMT (Decimal format) <p>The decimal format is determined from the
locale object.</p>
</li>
</ul>
</dd>
</dl>
</div>
<div class="section"><h4 class="sectiontitle">Enable locales with user profiles</h4><p>Two parameters
on the user profile are related to locales:</p>
<dl><dt class="dlterm">LOCALE</dt>
<dd>The parameter value specifying the locale object to use for the LANG environment
variable. The default is *NONE. Other possible values are: <ul><li>*SYSVAL <p>The system value QLOCALE is used to determine the locale path
name to be assigned for this user.</p>
</li>
<li>*C <p>The C locale is assigned for this user (same result as using *POSIX).</p>
</li>
<li>*POSIX <p>The POSIX locale path name is assigned for this user.</p>
</li>
<li>locale path name <p>The path name of the locale to be assigned for this
user.</p>
</li>
</ul>
</dd>
<dt class="dlterm">SETJOBATR</dt>
<dd>The parameter value that sets job attributes at job start
time. The default is *NONE. If *SYSVAL is specified, then the attributes are
set from the QSETJOBATR value. The same attributes (*CCSID, *TIMSEP, *DATFMT,
*DATSEP, *DECFMT, *SRTSEQ) that can be specified on the system value QSETJOBATR
can be specified on the SETJOBATR parameter of the user profile.</dd>
</dl>
<p>If you want all users on the system to use
locales, setting system values accomplishes this. Alternatively, the user
profile is an ideal mechanism if you want to provide locale function to a
limited or specific group of users.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagsinstallconfig.htm" title="Use this information to configure i5/OS with a national language version in this topic.">Configure a national language version</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbagslocaleover.htm" title="A locale is an object that can determine how data is processed, printed, and displayed.">Locales</a></div>
<div><a href="rbagssyssuplocalesourcedef.htm" title="The system-supplied locale source definition file members are in the optionally installable library QSYSLOCALE in the QLOCALESRC source file. The source file members are encoded in CCSID 37 and are read only.">System-supplied locales and recommended CCSIDs</a></div>
<div><a href="rbagslocale.htm" title="Locales are used primarily in ILE-based application programs. Additionally, the Retrieve Locale Information (OPM, QLGRTVLC; ILE, QlgRetrieveLocaleInformation) API retrieves one or all categories of a locale.">Work with locales</a></div>
</div>
</div>
</body>
</html>