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

94 lines
4.8 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="CHECK (Check) keyword for physical and logical files" />
<meta name="abstract" content="Use this field-level keyword to specify validity checking in display files." />
<meta name="description" content="Use this field-level keyword to specify validity checking in display files." />
<meta name="DC.subject" content="CHECK (Check) keyword" />
<meta name="keywords" content="CHECK (Check) keyword" />
<meta name="DC.Relation" scheme="URI" content="rzakbmstlfkeyw.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzakc/rzakcmstpos29.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzakc/rzakcmstdfcheck.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="tdcheck" />
<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, CHECK</title>
</head>
<body id="tdcheck"><a name="tdcheck"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CHECK (Check) keyword for physical and logical files</h1>
<div><p>Use this field-level keyword to specify validity checking in display
files.</p>
<div class="section"><div class="p">The format of the keyword is: <pre>CHECK(edit-check-code [. . .])</pre>
</div>
<p>CHECK
does not affect the physical or logical file being defined. When you define
an input-capable field in a display file, refer to the field you are defining
by specifying R in position 29 and using the REF or REFFLD keyword. At display
file creation, the operating system copies the CHECK keyword and other field
attributes from the field in the physical or logical file into the field in
the display file. You can override the CHECK keyword (as well as all other
validity checking keywords and the CHKMSGID keyword) by specifying any validity
checking keyword for the field in the display file.</p>
<div class="p">The rules for specifying
this keyword in a physical or logical file are similar to those for a display
file. However, only the following codes are allowed in physical or logical
files: <dl><dt><strong>Code</strong></dt>
<dd><strong>Meaning</strong></dd>
<dt class="dlterm">AB</dt>
<dd>Allow blank</dd>
<dt class="dlterm">ME</dt>
<dd>Mandatory enter</dd>
<dt class="dlterm">MF</dt>
<dd>Mandatory fill</dd>
<dt class="dlterm">M10</dt>
<dd>IBM<sup>®</sup> Modulus
10 self-check algorithm</dd>
<dt class="dlterm">M10F</dt>
<dd>IBM Modulus
10 self-check algorithm</dd>
<dt class="dlterm">M11</dt>
<dd>IBM Modulus
11 self-check algorithm</dd>
<dt class="dlterm">M11F</dt>
<dd>IBM Modulus
11 self-check algorithm</dd>
<dt class="dlterm">VN</dt>
<dd>Validate name</dd>
<dt class="dlterm">VNE</dt>
<dd>Validate name extended</dd>
</dl>
</div>
<p>You cannot specify the CHECK(AB), CHECK(VN), CHECK(VNE),
CHECK(M10), CHECK(M11), CHECK(M10F), or CHECK(M11F) keywords on a floating-point
field (F in position 35). You cannot specify the CHECK keyword on a hexadecimal
field (H in position 35). Do not specify the CHECK keyword on a date, time,
or timestamp field (L, T, or Z in position 35).</p>
</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 class="relinfo"><strong>Related information</strong><br />
<div><a href="../rzakc/rzakcmstpos29.htm">Reference for display files (position 29)</a></div>
<div><a href="../rzakc/rzakcmstdfcheck.htm">CHECK (Check) keyword for display files</a></div>
</div>
</div>
</body>
</html>