ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakb_5.4.0.1/ldata.htm

498 lines
38 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="Data type for physical and logical files (position 35)" />
<meta name="abstract" content="For a physical file, use this position to specify the data type of the field within the database. Specify data type in a logical file only to override or change the data type of the corresponding field in the physical file on which this logical file is based." />
<meta name="description" content="For a physical file, use this position to specify the data type of the field within the database. Specify data type in a logical file only to override or change the data type of the corresponding field in the physical file on which this logical file is based." />
<meta name="DC.subject" content="data type, logical files, data type, physical files, converting data types, data types, converting in DDS files, converting between zoned decimal and hexadecimal data types, converting between zoned decimal and hexadecimal data types, converting floating point, to packed decimal, to zoned decimal, to binary, data types, converting floating point to packed, zoned, and binary data types, converting when concatenating fields, converting data types when concatenating fields, converting when substringing fields, converting data types, when substringing fields" />
<meta name="keywords" content="data type, logical files, data type, physical files, converting data types, data types, converting in DDS files, converting between zoned decimal and hexadecimal data types, converting between zoned decimal and hexadecimal data types, converting floating point, to packed decimal, to zoned decimal, to binary, data types, converting floating point to packed, zoned, and binary data types, converting when concatenating fields, converting data types when concatenating fields, converting when substringing fields, converting data types, when substringing fields" />
<meta name="DC.Relation" scheme="URI" content="rzakbmstlfpos.htm" />
<meta name="DC.Relation" scheme="URI" content="convdatatype.htm" />
<meta name="DC.Relation" scheme="URI" content="convzdec.htm" />
<meta name="DC.Relation" scheme="URI" content="convfltpt.htm" />
<meta name="DC.Relation" scheme="URI" content="convdatatypesconcat.htm" />
<meta name="DC.Relation" scheme="URI" content="convdatatypessubstring.htm" />
<meta name="DC.Relation" scheme="URI" content="dbcdtype.htm" />
<meta name="DC.Relation" scheme="URI" content="ucs2dtype.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakbmstlfpos.htm" />
<meta name="DC.Relation" scheme="URI" content="simpmult.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakbmsttdjfld.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="ldata" />
<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>Data type for physical and logical files (position 35)</title>
</head>
<body id="ldata"><a name="ldata"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Data type for physical and logical files (position 35)</h1>
<div><p>For a physical file, use this position to specify the data type
of the field within the database. Specify data type in a logical file only
to override or change the data type of the corresponding field in the physical
file on which this logical file is based.</p>
<div class="section"><p>If you leave this position blank, the field you are defining has
the same data type as the corresponding field in the physical files on which
the logical files are based.</p>
<div class="p">Valid data type entries are as follows:
<dl><dt><strong>Entry</strong></dt>
<dd><strong>Meaning</strong></dd>
<dt class="dlterm">P</dt>
<dd>Packed decimal</dd>
<dt class="dlterm">S</dt>
<dd>Zoned decimal</dd>
<dt class="dlterm">B</dt>
<dd>Binary</dd>
<dt class="dlterm">F</dt>
<dd>Floating-point</dd>
<dt class="dlterm">A</dt>
<dd>Character</dd>
<dt class="dlterm">H</dt>
<dd>Hexadecimal</dd>
<dt class="dlterm">L</dt>
<dd>Date</dd>
<dt class="dlterm">T</dt>
<dd>Time</dd>
<dt class="dlterm">Z</dt>
<dd>Timestamp</dd>
<dt class="dlterm">5</dt>
<dd>Binary character</dd>
</dl>
</div>
<div class="note"><span class="notetitle">Note:</span> The data types J (only), E (either), O (open), and
G (graphic) support DDS database files that use DBCS. The G (graphic) data
type also supports DDS database files that use UCS-2 or UTF-16. The A (character)
data type also supports database files that use UTF-8.</div>
<div class="p">For physical
files, if you do not specify a data type or duplicate one from a referenced
field, the operating system assigns the following defaults: <ul><li>A (character) if the decimal positions 36 through 37 are blank.</li>
<li>P (packed decimal) if the decimal positions 36 through 37 contain a number
in the range 0 through 63.</li>
</ul>
<div class="note"><span class="notetitle">Notes:</span> <ol><li>Specify 0 in position 37 to indicate an integer numeric field for packed
decimal, zoned decimal, or binary fields.</li>
<li>Specify an F in position 35 for a single precision floating-point field.
Use the FLTPCN keyword to specify double precision or to change the precision
of an already specified floating-point field.</li>
<li>Specify an H (hexadecimal) in position 35 to indicate a field whose contents
are not interpreted by the system. In most cases, hexadecimal fields are treated
as character fields, except that the contents of a hexadecimal
field are not translated to any character set or code page.</li>
</ol>
</div>
</div>
<p>The following table shows what types
of data conversion are valid between the data types of physical and logical
file fields, where valid conversions are marked with an X or with a reference
to the table notes:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="border" border="1" rules="all"><thead align="left"><tr><th rowspan="2" valign="top" width="18.095507697667834%" id="d0e174">Data type of physical file field</th>
<th colspan="17" align="center" valign="top" id="d0e176">Data type of logical
file field</th>
</tr>
<tr><th align="left" valign="bottom" width="3.8325022319970383%" id="d0e179">A</th>
<th align="left" valign="bottom" width="3.6278117718790153%" id="d0e181">H</th>
<th align="left" valign="bottom" width="3.5145787513881936%" id="d0e183">S</th>
<th align="left" valign="bottom" width="3.621279097619929%" id="d0e185">P</th>
<th align="left" valign="bottom" width="3.841212464342486%" id="d0e187">B</th>
<th align="left" valign="bottom" width="3.5341767741654513%" id="d0e189">F</th>
<th align="left" valign="bottom" width="3.647409794656273%" id="d0e191">L</th>
<th align="left" valign="bottom" width="3.4557846830564203%" id="d0e193">T</th>
<th align="left" valign="bottom" width="3.6604751431744442%" id="d0e195">Z</th>
<th valign="top" width="9.444069420551793%" id="d0e197">UTF8</th>
<th valign="top" width="9.489798140365394%" id="d0e199">UTF16</th>
<th valign="top" width="9.709731507087952%" id="d0e201">UCS2</th>
<th valign="top" width="4.516255471114692%" id="d0e203">O</th>
<th valign="top" width="4.300677220564859%" id="d0e205">J</th>
<th valign="top" width="3.960978159092394%" id="d0e207">E</th>
<th valign="top" width="3.3621496853428563%" id="d0e209">G</th>
<th valign="top" width="4.385601985932975%" id="d0e211">5</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="18.095507697667834%" headers="d0e174 ">Character (<strong>A</strong>)</td>
<td align="left" valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">X</td>
<td align="left" valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">X</td>
<td align="left" valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">1</td>
<td align="left" valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td align="left" valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td align="left" valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td align="left" valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td align="left" valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td align="left" valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">X</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">X</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">X</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">X</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">X</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">X</td>
</tr>
<tr><td align="left" valign="top" width="18.095507697667834%" headers="d0e174 ">Hexadecimal (<strong>H</strong>)</td>
<td align="left" valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">X</td>
<td align="left" valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">X</td>
<td align="left" valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">1</td>
<td align="left" valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td align="left" valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td align="left" valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td align="left" valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td align="left" valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td align="left" valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">X</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">X</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">X</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">X</td>
</tr>
<tr><td align="left" valign="top" width="18.095507697667834%" headers="d0e174 ">Zoned (<strong>S</strong>)</td>
<td align="left" valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">1</td>
<td align="left" valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">1</td>
<td align="left" valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">X</td>
<td align="left" valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">X</td>
<td align="left" valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">2</td>
<td align="left" valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">X</td>
<td align="left" valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td align="left" valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td align="left" valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">&nbsp;</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">1</td>
</tr>
<tr><td align="left" valign="top" width="18.095507697667834%" headers="d0e174 ">Packed (<strong>P</strong>)</td>
<td align="left" valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">&nbsp;</td>
<td align="left" valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">&nbsp;</td>
<td align="left" valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">X</td>
<td align="left" valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">X</td>
<td align="left" valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">2</td>
<td align="left" valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">X</td>
<td align="left" valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td align="left" valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td align="left" valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">&nbsp;</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">&nbsp;</td>
</tr>
<tr><td align="left" valign="top" width="18.095507697667834%" headers="d0e174 ">Binary (<strong>B</strong>)</td>
<td align="left" valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">&nbsp;</td>
<td align="left" valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">&nbsp;</td>
<td align="left" valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">2</td>
<td align="left" valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">2</td>
<td align="left" valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">3</td>
<td align="left" valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">2</td>
<td align="left" valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td align="left" valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td align="left" valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">&nbsp;</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">&nbsp;</td>
</tr>
<tr><td align="left" valign="top" width="18.095507697667834%" headers="d0e174 ">Floating Point (<strong>F</strong>)</td>
<td align="left" valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">&nbsp;</td>
<td align="left" valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">&nbsp;</td>
<td align="left" valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">X</td>
<td align="left" valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">X</td>
<td align="left" valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">2</td>
<td align="left" valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">X</td>
<td align="left" valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td align="left" valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td align="left" valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">&nbsp;</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">&nbsp;</td>
</tr>
<tr><td align="left" valign="top" width="18.095507697667834%" headers="d0e174 ">Date (<strong>L</strong>)</td>
<td align="left" valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">6,7</td>
<td align="left" valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">&nbsp;</td>
<td align="left" valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">6</td>
<td align="left" valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">6</td>
<td align="left" valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td align="left" valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td align="left" valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">X</td>
<td align="left" valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td align="left" valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">&nbsp;</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">&nbsp;</td>
</tr>
<tr><td align="left" valign="top" width="18.095507697667834%" headers="d0e174 ">Time (<strong>T</strong>)</td>
<td align="left" valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">&nbsp;</td>
<td align="left" valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">&nbsp;</td>
<td align="left" valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">4</td>
<td align="left" valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td align="left" valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td align="left" valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td align="left" valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td align="left" valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">X</td>
<td align="left" valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">&nbsp;</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">&nbsp;</td>
</tr>
<tr><td align="left" valign="top" width="18.095507697667834%" headers="d0e174 ">Timestamp (<strong>Z</strong>)</td>
<td align="left" valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">&nbsp;</td>
<td align="left" valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">&nbsp;</td>
<td align="left" valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">&nbsp;</td>
<td align="left" valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td align="left" valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td align="left" valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td align="left" valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">5</td>
<td align="left" valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">5</td>
<td align="left" valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">X</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">&nbsp;</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">&nbsp;</td>
</tr>
<tr><td valign="top" width="18.095507697667834%" headers="d0e174 ">UTF-8</td>
<td valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">X</td>
<td valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">&nbsp;</td>
<td valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">&nbsp;</td>
<td valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">X</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">X</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">X</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">X</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">X</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">&nbsp;</td>
</tr>
<tr><td valign="top" width="18.095507697667834%" headers="d0e174 ">UTF-16</td>
<td valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">X</td>
<td valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">&nbsp;</td>
<td valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">&nbsp;</td>
<td valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">X</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">X</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">X</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">X</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">X</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">&nbsp;</td>
</tr>
<tr><td valign="top" width="18.095507697667834%" headers="d0e174 ">UCS-2</td>
<td valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">X</td>
<td valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">&nbsp;</td>
<td valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">&nbsp;</td>
<td valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">X</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">X</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">X</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">X</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">X</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">&nbsp;</td>
</tr>
<tr><td valign="top" width="18.095507697667834%" headers="d0e174 ">Open (<strong>O</strong>)</td>
<td valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">&nbsp;</td>
<td valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">X</td>
<td valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">&nbsp;</td>
<td valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">X</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">X</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">X</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">X</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">&nbsp;</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">X</td>
</tr>
<tr><td valign="top" width="18.095507697667834%" headers="d0e174 ">Only (<strong>J</strong>)</td>
<td valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">&nbsp;</td>
<td valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">X</td>
<td valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">&nbsp;</td>
<td valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">X</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">X</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">X</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">X</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">X</td>
</tr>
<tr><td valign="top" width="18.095507697667834%" headers="d0e174 ">Either (<strong>E</strong>)</td>
<td valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">&nbsp;</td>
<td valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">X</td>
<td valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">&nbsp;</td>
<td valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">X</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">&nbsp;</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">X</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">X</td>
</tr>
<tr><td valign="top" width="18.095507697667834%" headers="d0e174 ">Graphic (<strong>G</strong>)</td>
<td valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">&nbsp;</td>
<td valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">&nbsp;</td>
<td valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">&nbsp;</td>
<td valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">X</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">X</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">X</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">X</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">X</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">X</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">X</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">&nbsp;</td>
</tr>
<tr><td valign="top" width="18.095507697667834%" headers="d0e174 ">Binary character</td>
<td valign="top" width="3.8325022319970383%" headers="d0e176 d0e179 ">X</td>
<td valign="top" width="3.6278117718790153%" headers="d0e176 d0e181 ">X</td>
<td valign="top" width="3.5145787513881936%" headers="d0e176 d0e183 ">1</td>
<td valign="top" width="3.621279097619929%" headers="d0e176 d0e185 ">&nbsp;</td>
<td valign="top" width="3.841212464342486%" headers="d0e176 d0e187 ">&nbsp;</td>
<td valign="top" width="3.5341767741654513%" headers="d0e176 d0e189 ">&nbsp;</td>
<td valign="top" width="3.647409794656273%" headers="d0e176 d0e191 ">&nbsp;</td>
<td valign="top" width="3.4557846830564203%" headers="d0e176 d0e193 ">&nbsp;</td>
<td valign="top" width="3.6604751431744442%" headers="d0e176 d0e195 ">&nbsp;</td>
<td valign="top" width="9.444069420551793%" headers="d0e176 d0e197 ">&nbsp;</td>
<td valign="top" width="9.489798140365394%" headers="d0e176 d0e199 ">&nbsp;</td>
<td valign="top" width="9.709731507087952%" headers="d0e176 d0e201 ">&nbsp;</td>
<td valign="top" width="4.516255471114692%" headers="d0e176 d0e203 ">X</td>
<td valign="top" width="4.300677220564859%" headers="d0e176 d0e205 ">X</td>
<td valign="top" width="3.960978159092394%" headers="d0e176 d0e207 ">X</td>
<td valign="top" width="3.3621496853428563%" headers="d0e176 d0e209 ">&nbsp;</td>
<td valign="top" width="4.385601985932975%" headers="d0e176 d0e211 ">X</td>
</tr>
<tr><td colspan="18" align="left" valign="top" headers="d0e174 d0e176 d0e179 d0e181 d0e183 d0e185 d0e187 d0e189 d0e191 d0e193 d0e195 d0e197 d0e199 d0e201 d0e203 d0e205 d0e207 d0e209 d0e211 "><div class="note"><span class="notetitle">Notes:</span> <ol><li>Valid only if the number of characters (or bytes) equals the number of
digits and the character (or hexadecimal) field is not defined as a variable-length
field.</li>
<li>Valid only if the binary field has a decimal precision of zero.</li>
<li>Valid only if both fields have the same decimal precision.</li>
<li>The system generates the field length for you so do not enter a length
in columns 30 through 34. The length does not include the separator character.</li>
<li>Valid only if the field is input only.</li>
<li>You can specify a field length (columns 30 to 34) for these data types
on a logical file field. If you do not specify a length, the system generates
a default length. Valid lengths for these data types are documented with the
DATFMT keyword.</li>
<li>DBCS field types are not allowed to be mapped over DATE fields.</li>
</ol>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="convdatatype.htm">Conversion of one numeric data type to another in a DDS file</a></strong><br />
Any conversion of data types from the physical file record format is permitted within the numeric types. For example, a binary field in the physical file can be converted to zoned decimal in the logical file.</li>
<li class="ulchildlink"><strong><a href="convzdec.htm">Conversion between zoned decimal and character or hexadecimal in a DDS file</a></strong><br />
You can convert zoned decimal fields to character or hexadecimal fields and the converse, provided that the field lengths are the same.</li>
<li class="ulchildlink"><strong><a href="convfltpt.htm">Conversion of a field from floating point to packed decimal, zoned decimal, or binary in DDS</a></strong><br />
If you are converting a floating-point field (in a physical file) to a packed decimal, zoned decimal, or binary field (in a logical file), you must explicitly specify the length and decimal positions. When converting floating-point data to fixed-point format, make sure that the values you specify for length and decimal positions are large enough to accommodate the data.</li>
<li class="ulchildlink"><strong><a href="convdatatypesconcat.htm">Conversion of data types when concatenating fields in DDS</a></strong><br />
If the field you are defining is a concatenation of fields from the associated physical file (specified by the CONCAT keyword), you cannot specify the data type. The operating system assigns the data type based on the data types of the fields that are being concatenated.</li>
<li class="ulchildlink"><strong><a href="convdatatypessubstring.htm">Conversion of data types when substringing fields in DDS</a></strong><br />
If the field you are defining is a substring of a field (specified by the SST keyword) from the logical file or the associated physical file, the original field must be character, hexadecimal, zoned, DBCS-graphic or binary character (A, H, S, or G).</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakbmstlfpos.htm" title="The first 44 positions of the DDS form are called positional entries.">Positional entries for physical and logical files (positions 1 through 44)</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="simpmult.htm" title="You must specify the PFILE keyword at the record level for simple and multiple format logical files. In a multiple format logical file, a record format can use only the fields common to all the physical files specified on the PFILE keyword for that record format.">Simple and multiple format logical files in DDS</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="dbcdtype.htm" title="You can use any of the four DBCS data types: J (Only), E (Either), O (Open) and G (Graphic).">Data type (position 35)</a></div>
<div><a href="ucs2dtype.htm" title="The valid data types for Unicode data are the G (Graphic) data type and the A (Character) type.">Data type (position 35)</a></div>
<div><a href="rzakbmstlfpos.htm" title="The first 44 positions of the DDS form are called positional entries.">Positional entries for physical and logical files (positions 1 through 44)</a></div>
<div><a href="rzakbmsttdjfld.htm" title="Use this join-level keyword to identify the from and to fields whose values are used to join physical files in a join logical file. These fields are both referred to as join fields.">JFLD (Joined Fields) keyword—join logical files only</a></div>
</div>
</div>
</body>
</html>