ibm-information-center/dist/eclipse/plugins/i5OS.ic.dm_5.4.0.1/rbal3desappdbd.htm

65 lines
4.2 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="copyright" content="(C) Copyright IBM Corporation 2005" />
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
<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="reference" />
<meta name="DC.Title" content="Design application programs that process double-byte data" />
<meta name="abstract" content="There are certain considerations when designing application programs that process double-byte data, as discussed in this topic." />
<meta name="description" content="There are certain considerations when designing application programs that process double-byte data, as discussed in this topic." />
<meta name="DC.subject" content="character generator utility (CGU), use" />
<meta name="keywords" content="character generator utility (CGU), use" />
<meta name="DC.Relation" scheme="URI" content="rbal3apcon.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3desappdbd" />
<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>Design application programs that process double-byte data</title>
</head>
<body id="rbal3desappdbd"><a name="rbal3desappdbd"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Design application programs that process double-byte data</h1>
<div><p>There are certain considerations when designing application programs
that process double-byte data, as discussed in this topic.</p>
<div class="section"><div class="p">Design your application programs for processing double-byte data
in the same way you design application programs for processing alphanumeric
data, with the following additional considerations: <ul><li>Identify double-byte data used in the database files.</li>
<li>Design display and printer formats that can be used with double-byte data.</li>
<li>If needed, provide DBCS conversion as a means of entering double-byte
data for interactive applications. Use the DDS keyword for DBCS conversion
(IGCCNV) to specify DBCS conversion in display files. Because DBCS workstations
provide a variety of double-byte data entry methods, you are not required
to use the <span class="keyword">iSeries™</span> DBCS conversion
function to enter double-byte data.</li>
<li>Create double-byte messages to be used by the program.</li>
<li>Specify extended character processing so that the server prints and displays
all double-byte data. See <a href="rbal3ec.htm#rbal3ec">Extended double-byte characters</a> for instructions.</li>
<li>Determine whether additional double-byte characters need to be defined.
User-defined characters can be defined and maintained using the character
generator utility (CGU). Information about CGU can be found in the <cite>ADTS/400:
Character Generator Utility</cite> book.</li>
</ul>
</div>
<p>When you write application programs to process double-byte data,
make sure that the double-byte data is always processed in a double-byte unit
and do not split a double-byte character.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3apcon.htm" title="This section describes considerations for writing applications that process double-byte data.">Application program considerations for DBCS</a></div>
</div>
</div>
</body>
</html>