ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/nlss.htm

115 lines
6.9 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="National Language Sort Sequence (NLSS)" />
<meta name="abstract" content="NLSS applies only to non-numeric conditional breakpoint expressions of type Char-8." />
<meta name="description" content="NLSS applies only to non-numeric conditional breakpoint expressions of type Char-8." />
<meta name="DC.subject" content="National Language Sort Sequence (NLSS)" />
<meta name="keywords" content="National Language Sort Sequence (NLSS)" />
<meta name="DC.Relation" scheme="URI" content="srbp.htm" />
<meta name="DC.Relation" scheme="URI" content="brclear.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="nlss" />
<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>National Language Sort Sequence (NLSS)</title>
</head>
<body id="nlss"><a name="nlss"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">National Language Sort Sequence (NLSS)</h1>
<div><p>NLSS applies only to non-numeric conditional breakpoint expressions
of type Char-8.</p>
<p>Non-numeric conditional breakpoint expressions are divided into the following
two types: </p>
<ul><li>Char- 8: each character contains 8 bits</li>
<li>Char-16: each character contains 16 bits (DBCS)</li>
</ul>
<p>The table below shows the possible combinations of non-numeric conditional
breakpoint expressions.</p>
<p>The sort sequence table used by the source debugger for expressions of
type Char-8 is the sort sequence table specified for the SRTSEQ parameter
on the <span class="cmdname">Create CL Module (CRTCLMOD)</span> or <span class="cmdname">Create
Bound CL Program (CRTBNDCL)</span> commands.</p>
<p>If the resolved sort sequence table is *HEX, no sort sequence table is
used. Therefore, the source debugger uses the hexadecimal values of the characters
to determine the sort sequence. Otherwise, the specified sort sequence table
is used to assign weights to each byte before the comparison is made. Bytes
between, and including, shift-out/shift-in characters are <strong>not</strong> assigned
weights. </p>
<div class="note"><span class="notetitle">Note:</span> The name of the sort sequence table is saved during compilation. At
debug time, the source debugger uses the name saved from the compilation to
access the sort sequence table. If the sort sequence table specified at compilation
time resolves to something other than *HEX or *JOBRUN, it is important the
sort sequence table does <em>not</em> get altered before debugging is started.
If the table cannot be accessed because it is damaged or deleted, the source
debugger uses the *HEX sort sequence table.</div>
<div class="tablenoborder"><a name="nlss__non"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="nlss__non" width="100%" frame="hsides" border="1" rules="rows"><caption>Table 1. Non-numeric Conditional
Breakpoint Expressions</caption><thead align="left"><tr><th align="left" valign="bottom" width="19.29499072356215%" id="d0e53">Type</th>
<th align="left" valign="bottom" width="80.70500927643785%" id="d0e55">Possibilities</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="19.29499072356215%" headers="d0e53 ">Char-8</td>
<td align="left" valign="top" width="80.70500927643785%" headers="d0e55 "> <ul><li>Character variable compared to character variable</li>
<li>Character variable compared to character literal <sup>1</sup></li>
<li>Character variable compared to hex literal <sup>2</sup></li>
<li>Character literal <sup>1</sup> compared to character variable</li>
<li>Character literal <sup>1</sup> compared to character literal <sup>1</sup></li>
<li>Character literal <sup>1</sup> compared to hex literal <sup>2</sup></li>
<li>Hex literal <sup>2</sup> compared to character variable <sup>1</sup></li>
<li>Hex literal <sup>2</sup> compared to character literal <sup>1</sup></li>
<li>Hex literal <sup>2</sup> compared to hex literal <sup>2</sup></li>
</ul>
</td>
</tr>
<tr><td align="left" valign="top" width="19.29499072356215%" headers="d0e53 ">Char 16</td>
<td align="left" valign="top" width="80.70500927643785%" headers="d0e55 "> <ul><li>DBCS character variable compared to DBCS character variable</li>
<li>DBCS character variable compared to graphic literal <sup>3</sup></li>
<li>DBCS character variable compared to hex literal <sup>2</sup></li>
<li>Graphic literal <sup>3</sup> compared to DBCS character variable</li>
<li>Graphic literal <sup>3</sup> compared to Graphic literal <sup>3</sup></li>
<li>Graphic literal <sup>3</sup> compared to hex literal <sup>2</sup></li>
<li>Hex literal <sup>2</sup> compared to DBCS character variable</li>
<li>Hex literal <sup>2</sup> compared to Graphic literal <sup>3</sup></li>
</ul>
</td>
</tr>
<tr><td colspan="2" align="left" valign="top" headers="d0e53 d0e55 "><div class="note"><span class="notetitle">:</span> <dl><dt class="dlterm"><sup>1</sup></dt>
<dd>Character literal is of the form 'abc'.</dd>
<dt class="dlterm"><sup>2</sup></dt>
<dd>Hexadecimal literal is of the form X'hex digits'.</dd>
<dt class="dlterm"><sup>3</sup></dt>
<dd>Graphic literal is of the form G'&lt;so&gt;DBCS data&lt;si&gt;'. Shift-out
is represented as &lt;so&gt; and shift-in is represented as &lt;si&gt;.</dd>
</dl>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="srbp.htm" title="You can use breakpoints to stop a program object at a specific point when it is running.">Set and remove breakpoints</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="brclear.htm" title="An alternate method of setting and removing conditional breakpoints is to use the BREAK and CLEAR debug commands.">Use the BREAK and CLEAR debug commands</a></div>
</div>
</div>
</body>
</html>