ibm-information-center/dist/eclipse/plugins/i5OS.ic.dds_5.4.0.1/rbafpmstidlit.htm

80 lines
5.1 KiB
HTML
Raw Permalink 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="DBCS character strings" />
<meta name="abstract" content="You can use bracketed-DBCS character strings in DDS files for text-related keywords, such as TEXT and COLHDG, and both bracketed and DBCS-graphic character strings as parameters on the COMP, DFT, RANGE, and VALUES keywords." />
<meta name="description" content="You can use bracketed-DBCS character strings in DDS files for text-related keywords, such as TEXT and COLHDG, and both bracketed and DBCS-graphic character strings as parameters on the COMP, DFT, RANGE, and VALUES keywords." />
<meta name="DC.subject" content="DBCS considerations, character strings" />
<meta name="keywords" content="DBCS considerations, character strings" />
<meta name="DC.Relation" scheme="URI" content="rbafpmstgendbcs.htm" />
<meta name="DC.Relation" scheme="URI" content="bdbcs.htm" />
<meta name="DC.Relation" scheme="URI" content="gdbcs.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="idlit" />
<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>DBCS character strings</title>
</head>
<body id="idlit"><a name="idlit"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">DBCS character strings</h1>
<div><p>You can use bracketed-DBCS character strings in DDS files for text-related
keywords, such as TEXT and COLHDG, and both bracketed and DBCS-graphic character
strings as parameters on the COMP, DFT, RANGE, and VALUES keywords.</p>
<div class="section"><h4 class="sectiontitle">Considerations for using DBCS character strings</h4><p>Consider
the following information when you use DBCS character strings:</p>
<ul><li>Do not specify DBCS character strings for those DDS keywords that are
dependent on data type, and for which you did not specify a DBCS data type
(data type O, J, E, or G).</li>
<li>When the source file is defined as DBCS, DDS scans all character strings
as DBCS character strings and considers all data between the shift-control
characters to be part of the character string. <p>Remember to include both
shift-control characters. If the shift-in character indicating the end of
the DBCS string is missing, the system considers the remainder of the record,
including the ending single quotation mark, to be part of the character string.</p>
</li>
<li>When the source file is alphanumeric, DDS does not check the character
string to make sure that you have included only DBCS characters between the
shift-control characters.</li>
<li>When the source file is alphanumeric, DDS identifies DBCS character strings
as alphanumeric literals.</li>
<li>You can refer to a field that contains a DBCS character string from another
file, using the reference function. DDS copies the attributes of the field
containing the DBCS character string (the referenced field) to the field you
are defining. If the file containing the referenced field is DBCS and the
file you are defining is alphanumeric, DDS does not check the character string
to make sure that it is a valid DBCS character string. If the file containing
the referenced field is alphanumeric and the file you are defining is DBCS,
DDS checks the character string to make sure that it is a valid
DBCS character string.</li>
</ul>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="bdbcs.htm">Enter bracketed-DBCS character strings</a></strong><br />
Enter bracketed-DBCS character strings in this way.</li>
<li class="ulchildlink"><strong><a href="gdbcs.htm">Enter DBCS-graphic character strings</a></strong><br />
Enter DBCS-graphic character strings in this way.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafpmstgendbcs.htm" title="These topics describe the general considerations for positional entries, keyword entries, double-byte character set (DBCS) text literals, and DDS computer printouts that contain DBCS characters.">General considerations for using DBCS text with DDS files</a></div>
</div>
</div>
</body>
</html>