83 lines
4.9 KiB
HTML
83 lines
4.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="reference" />
|
||
|
<meta name="DC.Title" content="DIGIT (Digit) keyword for physical and logical files" />
|
||
|
<meta name="abstract" content="Use this key field-level keyword to specify that only the digit portion (farthest right 4 bits) of each byte of the key field is used when constructing a value associated with this key field. The zone portion is zero-filled." />
|
||
|
<meta name="description" content="Use this key field-level keyword to specify that only the digit portion (farthest right 4 bits) of each byte of the key field is used when constructing a value associated with this key field. The zone portion is zero-filled." />
|
||
|
<meta name="DC.subject" content="DIGIT (Digit) keyword" />
|
||
|
<meta name="keywords" content="DIGIT (Digit) keyword" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakbmstlfkeyw.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="tddigit" />
|
||
|
<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>Physical and Logical Files, DIGIT</title>
|
||
|
</head>
|
||
|
<body id="tddigit"><a name="tddigit"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">DIGIT (Digit) keyword for physical and logical files</h1>
|
||
|
<div><p>Use this key field-level keyword to specify that only the digit
|
||
|
portion (farthest right 4 bits) of each byte of the key field is used when
|
||
|
constructing a value associated with this key field. The zone portion is zero-filled.</p>
|
||
|
<div class="section"><p>This keyword has no parameters.</p>
|
||
|
<p>The DIGIT keyword is applied
|
||
|
against the entire key field (not just a position within the field). It is
|
||
|
valid only for character, hexadecimal, or zoned decimal type fields.</p>
|
||
|
<p>You
|
||
|
cannot use this keyword with the ABSVAL, SIGNED, or ZONE keywords.</p>
|
||
|
<p>If
|
||
|
you specify DIGIT for a key field, the value of the field is treated as a
|
||
|
string of unsigned binary data, rather than signed data, which is the default
|
||
|
for zoned decimal fields.</p>
|
||
|
</div>
|
||
|
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
|
||
|
the DIGIT keyword.</p>
|
||
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
00040A K ORDTYP DIGIT
|
||
|
A</pre>
|
||
|
<p>If ORDTYP is a 3-byte field, the values of the field
|
||
|
for three different records might be as follows:</p>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="0" rules="none"><thead align="left"><tr><th valign="top" width="15.789473684210526%" id="d0e43">Values</th>
|
||
|
<th valign="top" width="31.57894736842105%" id="d0e45">Hexadecimal</th>
|
||
|
<th valign="top" width="52.63157894736842%" id="d0e47">Digits used for key</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" width="15.789473684210526%" headers="d0e43 ">C4J</td>
|
||
|
<td valign="top" width="31.57894736842105%" headers="d0e45 ">C3F4D1</td>
|
||
|
<td valign="top" width="52.63157894736842%" headers="d0e47 ">341</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="15.789473684210526%" headers="d0e43 ">CMA</td>
|
||
|
<td valign="top" width="31.57894736842105%" headers="d0e45 ">D3D4C1</td>
|
||
|
<td valign="top" width="52.63157894736842%" headers="d0e47 ">341</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="15.789473684210526%" headers="d0e43 ">3D1</td>
|
||
|
<td valign="top" width="31.57894736842105%" headers="d0e45 ">F3C4F1</td>
|
||
|
<td valign="top" width="52.63157894736842%" headers="d0e47 ">341</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakbmstlfkeyw.htm" title="This topic lists valid keyword entries for describing physical and logical files. They are typed in positions 45 through 80 (functions).">Keyword entries for physical and logical files (positions 45 through 80)</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|