63 lines
4.0 KiB
HTML
63 lines
4.0 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="VALNUM (Validate Numeric) keyword for display files" />
|
||
|
<meta name="abstract" content="Use this file-, record-, or field-level keyword to enhance the error checking performed against fields with the data type numeric only." />
|
||
|
<meta name="description" content="Use this file-, record-, or field-level keyword to enhance the error checking performed against fields with the data type numeric only." />
|
||
|
<meta name="DC.subject" content="VALNUM (Validate Numeric) keyword, Validate Numeric (VALNUM) keyword, validate numeric, creating" />
|
||
|
<meta name="keywords" content="VALNUM (Validate Numeric) keyword, Validate Numeric (VALNUM) keyword, validate numeric, creating" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.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="rzakcmstdfvaln" />
|
||
|
<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>VALNUM (Validate Numeric) keyword for display files</title>
|
||
|
</head>
|
||
|
<body id="rzakcmstdfvaln"><a name="rzakcmstdfvaln"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">VALNUM (Validate Numeric) keyword for display files</h1>
|
||
|
<div><p>Use this file-, record-, or field-level keyword to enhance the
|
||
|
error checking performed against fields with the data type numeric only.</p>
|
||
|
<div class="section"><p>When specified on a numeric only field, this keyword causes an
|
||
|
error message to be returned if the user attempts to embed a SPACE, PLUS SIGN
|
||
|
or MINUS SIGN between numeric digits in the field or when the PLUS SIGN or
|
||
|
MINUS SIGN precedes the numeric digits.</p>
|
||
|
<p>This keyword has no parameters.</p>
|
||
|
<p>The
|
||
|
field containing the VALNUM keyword must be defined as an input-capable field
|
||
|
with the data type Y.</p>
|
||
|
<p>Option indicators are not valid for this keyword.</p>
|
||
|
</div>
|
||
|
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
|
||
|
the VALNUM keyword:</p>
|
||
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
00010A R RECORD
|
||
|
00020A F1 5Y 0B 3 4VALNUM
|
||
|
00030A F2 5Y 0B 4 4</pre>
|
||
|
<p>In this example,
|
||
|
field F1 will not allow the user to embed a SPACE, the PLUS SIGN or MINUS
|
||
|
SIGN within the numeric value or precede the numeric value with a PLUS SIGN
|
||
|
or MINUS SIGN. Field F2 will be treated as described in the <a href="rzakcmstdfdt.htm">Data type/keyboard shift for display files (position 35)</a> topic.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakcmstkeyent.htm" title="You type the keyword entries that define display files in positions 45 through 80 (functions).">DDS keyword entries for display files (positions 45 through 80)</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|