ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakd_5.4.0.1/prtgen.htm

74 lines
4.6 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="Additional considerations for describing printer files that contain DBCS data" />
<meta name="abstract" content="Consider this information when describing a printer file that contains DBCS data." />
<meta name="description" content="Consider this information when describing a printer file that contains DBCS data." />
<meta name="DC.subject" content="DBCS, additional considerations" />
<meta name="keywords" content="DBCS, additional considerations" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstzdbcs.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="prtgen" />
<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>Additional considerations for describing printer files that contain
DBCS data</title>
</head>
<body id="prtgen"><a name="prtgen"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Additional considerations for describing printer files that contain
DBCS data</h1>
<div><p>Consider this information when describing a printer file that contains
DBCS data.</p>
<ul><li>If you describe fields in the file as DBCS fields, the system considers
the file to be DBCS even if you do not specify IGCDTA(*YES) on the file creation
command.</li>
<li>Specify IGCDTA(*YES) on the CRTPRTF command when DBCS data is present
in the file, but is not indicated in DDS. For example, specify IGCDTA(*YES)
if the file sends messages that are DBCS (DDS keyword, MSGCON).</li>
<li>Each printed DBCS character is twice as wide as a printed alphanumeric
character. The location of a character on a printed page, as specified in
DDS, is affected by the value specified for the CPI and IGCCPI parameters
in the file description. Although the system does not use the CPI or IGCCPI
values to determine the printed length of a field, this value does affect
the physical space used on a printed form. <div class="p">The physical space occupied
on a printed form is also affected by the method used to print the shift-control
characters. Specify shift-control character printing in the file description
(IGCSOSI parameter on the CRTPRTF, CHGPRTF, and OVRPRTF commands). The IGCSOSI
value specified for the printer file is ignored for DBCS-graphic fields. These
fields are printed as if IGCSOSI(*NO) was specified. <div class="note"><span class="notetitle">Note:</span> DDS does not consider
the values specified for the CPI, IGCCPI, and IGCSOSI parameter values when
calculating the printed length. Therefore, overlapping might
occur when the field is actually printed, although the problem is not indicated
when the DDS file is compiled.</div>
</div>
<p>This information applies to constant
fields with DBCS data and to named fields.</p>
</li>
<li>When using the reference function in a printer file, if you refer to a
field in a database file that has data type J, O, or E, DDS assigns data type
O for the field in the printer file. If you refer to a field that has data
type G, DDS assigns data type G for the field in the printer file.</li>
</ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakdmstzdbcs.htm" title="Read this topic for DBCS (double-byte character set) considerations for printer file DDS positional entries and keyword entries, along with additional considerations for printer files.">Double-byte character set considerations for printer files</a></div>
</div>
</div>
</body>
</html>