101 lines
7.9 KiB
HTML
101 lines
7.9 KiB
HTML
<?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="Develop applications that process DBCS data" />
|
|
<meta name="abstract" content="Design your application programs for processing double-byte data in the same way you design application programs for processing alphanumeric data." />
|
|
<meta name="description" content="Design your application programs for processing double-byte data in the same way you design application programs for processing alphanumeric data." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsenadbcs.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsdoublebytedatause.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsdbcsen.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsprocessdbchars.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsdbcsdisplaysup.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsdbcscapprintfile.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagscopyingfiles.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagschngalphatodbcs.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsdbcstextinclcmds.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsdbcsconversion.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagssqlanddbchars.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbagsdevelopingappsdesign.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="rbagsdesigndbcsapps" />
|
|
<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>Develop applications that process DBCS data</title>
|
|
</head>
|
|
<body id="rbagsdesigndbcsapps"><a name="rbagsdesigndbcsapps"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Develop applications that process DBCS data</h1>
|
|
<div><p>Design your application programs for processing double-byte data
|
|
in the same way you design application programs for processing alphanumeric
|
|
data.</p>
|
|
<p>Following are the additional considerations:</p>
|
|
<ul><li>Make sure that the double-byte data is always processed in a double-byte
|
|
unit and does not split a double-byte character.</li>
|
|
<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 i5/OS™ 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 system prints and displays
|
|
all double-byte data.</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 SC09-1769-00.</li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rbagsdoublebytedatause.htm">Use of double-byte data</a></strong><br />
|
|
You can use double-byte data in several ways.</li>
|
|
<li class="ulchildlink"><strong><a href="rbagsdbcsen.htm">DBCS coding considerations</a></strong><br />
|
|
If the application will be used in a DBCS environment, ensure that it is DBCS-enabled. Here are some suggestions to consider when you develop the general product design.</li>
|
|
<li class="ulchildlink"><strong><a href="rbagsprocessdbchars.htm">Process double-byte characters</a></strong><br />
|
|
Due to the large number of double-byte characters, the system needs more information to identify each double-byte character than is needed to identify each alphanumeric character.</li>
|
|
<li class="ulchildlink"><strong><a href="rbagsdbcsdisplaysup.htm">Display support</a></strong><br />
|
|
This topic discusses display support for inserting shift-control characters. Also discussed are the number of extended characters and input fields that can be displayed, and the effects of displaying double-byte data on alphanumeric workstations.</li>
|
|
<li class="ulchildlink"><strong><a href="rbagsdbcscapprintfile.htm">Make printer files DBCS capable</a></strong><br />
|
|
In many cases, printer files are used by the server to produce data that will eventually be printed or displayed. In these cases, the data is first placed into a spooled file using one of the IBM-supplied printer files. The data is then taken from the spooled file and is displayed or printed based on the request of the user.</li>
|
|
<li class="ulchildlink"><strong><a href="rbagscopyingfiles.htm">Copy spooled and nonspooled DBCS files</a></strong><br />
|
|
You can copy both spooled and nonspooled DBCS files.</li>
|
|
<li class="ulchildlink"><strong><a href="rbagschngalphatodbcs.htm">Change alphanumeric programs to DBCS programs</a></strong><br />
|
|
If an alphanumeric application program uses externally described files, you can change that application program to a DBCS application program by changing the externally described files.</li>
|
|
<li class="ulchildlink"><strong><a href="rbagsdbcstextinclcmds.htm">Enter DBCS text in CL commands</a></strong><br />
|
|
You can use double-byte character data anywhere in a CL command that descriptive text can be used.</li>
|
|
<li class="ulchildlink"><strong><a href="rbagsdbcsconversion.htm">DBCS conversion</a></strong><br />
|
|
You can enter an alphanumeric entry or DBCS code and convert the entry or code to its related DBCS word. DBCS conversion is intended for Japanese character sets and its use is limited for application to other double-byte character sets.</li>
|
|
<li class="ulchildlink"><strong><a href="rbagssqlanddbchars.htm">SQL and DBCS</a></strong><br />
|
|
The basic symbols of keywords and operators in the SQL language
|
|
are single-byte characters that are part of all character sets supported by
|
|
the IBM<sup>®</sup> relational
|
|
database products. Characters of the language are classified as letters, digits,
|
|
or special characters.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagsenadbcs.htm" title="A DBCS file is a file that contains double-byte data or is used to process double-byte data. Other files are called alphanumeric files. You can view DBCS files on display, printer, tape, diskette, and ICF devices.">Work with DBCS data</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rbagsdevelopingappsdesign.htm" title="Your goal in designing international application components is to create components that support national languages independently.">Design globalized applications</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |