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

70 lines
4.8 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="Index search and double-byte character set" />
<meta name="abstract" content="The index search function can be used with either double-byte character set (DBCS) or single-byte character set (SBCS) data. When DBCS data is used, the device from which it is requested must be capable of entering and presenting the data in DBCS." />
<meta name="description" content="The index search function can be used with either double-byte character set (DBCS) or single-byte character set (SBCS) data. When DBCS data is used, the device from which it is requested must be capable of entering and presenting the data in DBCS." />
<meta name="DC.Relation" scheme="URI" content="rbagsuserinterfaceman.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="rbagsindexsearchanddbcs" />
<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>Index search and double-byte character set</title>
</head>
<body id="rbagsindexsearchanddbcs"><a name="rbagsindexsearchanddbcs"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Index search and double-byte character set</h1>
<div><p>The index search function can be used with either double-byte character
set (DBCS) or single-byte character set (SBCS) data. When DBCS data is used,
the device from which it is requested must be capable of entering and presenting
the data in DBCS.</p>
<p>The object that contains the index search data is marked as containing
DBCS data. The system determines if the device is capable of handling the
DBCS data.</p>
<p>When the data is being prepared for DBCS format and the
index search function is used with that data, consider the following information:</p>
<ul><li>When the index search data is prepared for a DBCS system, the synonyms
entered on the ISCHSYN tag must be in double-byte character mode. That is,
the first byte after the tag must be a shift-out character and the last byte
of the data must be a shift-in character. The system does not convert data
on the ISCHSYN tag to double-byte character data.</li>
<li>Words must be separated by a single-byte blank. From 1 to 19 double-byte
characters can be combined to form a word. Intervening shift-out
and shift-in characters are allowed, but are ignored by index search.</li>
<li>The words that are used to link the ISCH and ISCHSYN tags (the ROOTS attribute
of the ISCH tag and the ROOT attribute of ISCHSYN tag) must be identical and
should not be entered in DBCS.</li>
<li>Search words can be entered in either single-byte mode or double-byte
mode. Single-byte blanks can be entered to separate the words.</li>
</ul>
<p>When the search words are shown on the screen, the double-byte character
representation (the character that was actually used in the search) is shown.
Special processing takes place so that index search is not case sensitive.
The search words from the ISCHSYN tag are converted to uppercase using a conversion
table for the code page that is specified with the TXTCHRID attribute of the
PNLGRP tag. If the search words are DBCS, they are not converted to uppercase.
Shift-out and shift-in characters are treated as blanks during parsing; leading
and trailing blanks are removed. All SBCS words are converted to uppercase
using a conversion table for the code page of the device description.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagsuserinterfaceman.htm" title="The i5/OS user interface manager (UIM) is a part of the system that allows you to define panels and dialogs for your application.">User interface manager</a></div>
</div>
</div>
</body>
</html>