95 lines
5.7 KiB
HTML
95 lines
5.7 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="EDTCDE (Edit Code) and EDTWRD (Edit Word) keywords for physical and logical files" />
|
|
<meta name="abstract" content="Use these field-level keywords to specify editing for the field you are defining when the field is referenced later during display or printer file creation. The EDTCDE and EDTWRD keywords do not affect the physical or logical file." />
|
|
<meta name="description" content="Use these field-level keywords to specify editing for the field you are defining when the field is referenced later during display or printer file creation. The EDTCDE and EDTWRD keywords do not affect the physical or logical file." />
|
|
<meta name="DC.subject" content="EDTCDE (Edit Code) keyword, Edit Code (EDTCDE) keyword" />
|
|
<meta name="keywords" content="EDTCDE (Edit Code) keyword, Edit Code (EDTCDE) 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/rzakcmstdfedtcd.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../rzakc/rzakcmstdfedwrd.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="tdedtcd" />
|
|
<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, EDTCDE and EDTWRD</title>
|
|
</head>
|
|
<body id="tdedtcd"><a name="tdedtcd"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">EDTCDE (Edit Code) and EDTWRD (Edit Word) keywords for physical and
|
|
logical files</h1>
|
|
<div><p>Use these field-level keywords to specify editing for the field
|
|
you are defining when the field is referenced later during display or printer
|
|
file creation. The EDTCDE and EDTWRD keywords do not affect the physical or
|
|
logical file.</p>
|
|
<div class="section"><div class="p">The format of the EDTCDE keyword is: <pre>EDTCDE(edit-code [* | floating-currency-symbol])</pre>
|
|
</div>
|
|
<div class="p">The
|
|
format of the EDTWRD keyword is: <pre>EDTWRD('edit-word')</pre>
|
|
</div>
|
|
<p>When
|
|
defining an input-capable field in a display file, refer to the field you
|
|
are defining by specifying the letter R in position 29 and the REF or REFFLD
|
|
keyword. At display file creation, the operating system copies the EDTCDE
|
|
or EDTWRD 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 EDTCDE
|
|
or EDTWRD keyword by specifying new editing keywords in the display or printer
|
|
file. Specifying the DLTEDT keyword in the display or printer file deletes
|
|
all editing for the field.</p>
|
|
<p>You cannot specify the EDTCDE or EDTWRD keyword
|
|
on a floating-point field (F in position 35) or a hexadecimal field (H in
|
|
position 35). Do not specify the EDTCDE or EDTWRD keyword on a date, time,
|
|
or timestamp field (L, T, or Z in position 35).</p>
|
|
<p>The rules for specifying
|
|
these keywords in a physical or logical file are the same as the rules for
|
|
a display file.</p>
|
|
</div>
|
|
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
|
|
the EDTCDE and EDTWRD keywords for a physical file.</p>
|
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
|
A R RECORD
|
|
A
|
|
A PRICE 5 2 EDTCDE(J)
|
|
A
|
|
A SALES 7 2 EDTCDE(K $)
|
|
A
|
|
A SALARY 8 2 EDTCDE(1 *)
|
|
A
|
|
A BALANCE 7 2 EDTWRD('$ 0. &CR')
|
|
A
|
|
A DATE 6 0 EDTCDE(Y)
|
|
A</pre>
|
|
<p>The fields PRICE, SALES, SALARY, and DATE have editing
|
|
specified. No new editing needs to be specified when they are
|
|
referred to by a display or printer file. This standardizes the editing of
|
|
these fields for applications that refer to these fields.</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/rzakcmstdfedtcd.htm">EDTCDE (Edit Code) keywords for display files</a></div>
|
|
<div><a href="../rzakc/rzakcmstdfedwrd.htm">EDTWRD (Edit Word) keywords for display files</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |