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

81 lines
4.5 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="reference" />
<meta name="DC.Title" content="IGCALTTYP (Alternative Data Type) keyword" />
<meta name="abstract" content="Use this field-level keyword to change alphanumeric character fields to the DBCS fields of data type O." />
<meta name="description" content="Use this field-level keyword to change alphanumeric character fields to the DBCS fields of data type O." />
<meta name="DC.subject" content="IGCALTTYP (DBCS Alternative Data Type) keyword, DBCS Alternative Data Type (IGCALTTYP) keyword" />
<meta name="keywords" content="IGCALTTYP (DBCS Alternative Data Type) keyword, DBCS Alternative Data Type (IGCALTTYP) keyword" />
<meta name="DC.Relation" scheme="URI" content="prtkwd.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="rzakdmstptigcal" />
<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>IGCALTTYP (Alternative Data Type) keyword</title>
</head>
<body id="rzakdmstptigcal"><a name="rzakdmstptigcal"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">IGCALTTYP (Alternative Data Type) keyword</h1>
<div><p>Use this field-level keyword to change alphanumeric character fields
to the DBCS fields of data type O.</p>
<div class="section"><p>This keyword has no parameters.</p>
<p>Put the keyword function
into effect by changing the IGCDTA parameter value in the file description,
using the CRTPRTF, CHGPRTF, or OVRPRTF command. Fields specified with this
keyword are alphanumeric character fields when you specify IGCDTA(*NO) and
are DBCS fields of data type O when you specify IGCDTA(*YES). For example,
create the file by specifying IGCDTA(*NO) on the CRTPRTF command. When using
the file to print DBCS data, override the file with the OVRPRTF command, specifying
IGCDTA(*YES). To override the printer file IGCPRTF, type:</p>
<pre>OVRPRTF FILE(IGCLIB/IGCPRTF) IGCDTA(*YES)</pre>
<p>Consider the following conditions when using the IGCALTTYP
keyword:</p>
<ul><li>You can specify IGCALTTYP only for character fields. Do not specify it
for DBCS fields.</li>
<li>You cannot specify IGCALTTYP when other keywords defined for the field
depend on the data type, because the function of this keyword is to change
the data type.</li>
<li>Option indicators are not allowed with IGCALTTYP.</li>
<li>This keyword is ignored for files created with DEVTYPE(*AFPDS).</li>
<li>The following keywords are not allowed with the IGCALTTYP keyword: <p>BLKFOLD<br />
CPI<br />
CVTDTA<br />
IGCANKCHV<br />
TRNSCY</p>
</li>
</ul>
</div>
<div class="section"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the IGCALTTYP keyword on the DDS coding form.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A*
00020A*
00030A R TITLER SKIPB(3)
00040A FLD1 40 47SPACEA(2) UNDERLINE
00050A 30 FLD2 40A 47SPACEA(2) UNDERLINE IGCALTTYP
A</pre>
<p>When the IGCALTTYP keyword is put into effect, FLD2 can
contain DBCS data.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="prtkwd.htm" title="Do not use these keywords with DBCS (double-byte character set) data fields (the data type specified in position 35 is O or G).">Keyword considerations for printer files that use double-byte character set</a></div>
</div>
</div>
</body>
</html>