ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzake_5.4.0.1/cdec.htm

57 lines
3.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="reference" />
<meta name="DC.Title" content="Decimal positions for ICF files (positions 36 and 37)" />
<meta name="abstract" content="Use these positions to specify the decimal placement within a packed decimal, a zoned decimal, a floating point, or a binary field." />
<meta name="description" content="Use these positions to specify the decimal placement within a packed decimal, a zoned decimal, a floating point, or a binary field." />
<meta name="DC.subject" content="decimal positional entry" />
<meta name="keywords" content="decimal positional entry" />
<meta name="DC.Relation" scheme="URI" content="cmnfl.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="cdec" />
<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>Decimal positions for ICF files (positions 36 and 37)</title>
</head>
<body id="cdec"><a name="cdec"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Decimal positions for ICF files (positions 36 and 37)</h1>
<div><p>Use these positions to specify the decimal placement within a packed
decimal, a zoned decimal, a floating point, or a binary field.</p>
<div class="section"><p>Specify a decimal number from 0 through 31 to indicate the number
of decimal positions to the right of the decimal point. (This number must
not be greater than the number of digits specified in the field length.)</p>
<p>You
can override or change these positions if you are using a referenced field.
To override the positions, specify the new value. To change the positions,
specify the amount by which you want the field increased or decreased and
precede it with either a + or -. For example, an entry of +4 indicates there
are to be four more digits to the right of the decimal point than were in
the referenced field. If the resulting number of decimal positions is greater
than the maximum allowed, you will receive an error message. </p>
<div class="note"><span class="notetitle">Note:</span> High-level
languages can impose specific length and value restrictions on the decimal
positions. Observe these restrictions for files used by those languages.</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="cmnfl.htm" title="Here are some rules and examples for filling in positions 1 through 44 of the data description specifications (DDS) form.">Define an ICF file using DDS</a></div>
</div>
</div>
</body>
</html>