ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbafodesckw.htm

68 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="concept" />
<meta name="DC.Title" content="Additional field definition functions you can describe with DDS" />
<meta name="abstract" content="You can describe additional information about the fields in the physical and logical file record formats with function keywords (positions 45 through 80 on the DDS form)." />
<meta name="description" content="You can describe additional information about the fields in the physical and logical file record formats with function keywords (positions 45 through 80 on the DDS form)." />
<meta name="DC.subject" content="field definition, functions, field, definition, EDTCDE (Edit Code) keyword, Edit Code (EDTCDE) keyword, EDTWRD (Edit Word) keyword, Edit Word (EDTWRD) keyword, keyword, DDS, EDTCDE (Edit Code), EDTWRD (Edit Word)" />
<meta name="keywords" content="field definition, functions, field, definition, EDTCDE (Edit Code) keyword, Edit Code (EDTCDE) keyword, EDTWRD (Edit Word) keyword, Edit Word (EDTWRD) keyword, keyword, DDS, EDTCDE (Edit Code), EDTWRD (Edit Word)" />
<meta name="DC.Relation" scheme="URI" content="rbafodescdds.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbafodesckw" />
<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>Additional field definition functions you can describe with DDS</title>
</head>
<body id="rbafodesckw"><a name="rbafodesckw"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Additional field definition functions you can describe with DDS</h1>
<div><p>You can describe additional information about the fields in the
physical and logical file record formats with function keywords (positions
45 through 80 on the DDS form). </p>
<div class="p">Some of the things you can specify include: <ul><li>Validity checking keywords to verify that the field data meets your standards.
For example, you can describe a field to have a valid range of 500 to 900.
(This checking is done only when data is typed on a keyboard to the display.)</li>
<li>Editing keywords to control how a field should be displayed or printed.
For example, you can use the EDTCDE(Y) keyword to specify that a date field
is to appear as MM/DD/YY. The EDTCDE and EDTWRD keywords can be used to control
editing. (This editing is done only when used in a display or printer file.)</li>
<li>Documentation,
heading, and name control keywords to control the description and name of
a field. For example, you can use the TEXT keyword to document a description
of each field. This text description is included in your compiler list to
better document the files used in your program. The TEXT and COLHDG keywords
control text and column-heading definitions. The ALIAS keyword can be used
to provide a more descriptive name for a field. The alias, or alternative
name, is used in a program (if the high-level language supports alias names).</li>
<li>Content
and default value keywords to control the null content and default data for
a field. The ALWNULL keyword specifies whether a null value is allowed in
the field. If ALWNULL is used, the default value of the field is null. If
ALWNULL is not present at the field level, the null value is not allowed,
character and hexadecimal fields default to blanks, and numeric fields default
to zeros, unless the DFT (default) keyword is used to specify a different
value. </li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafodescdds.htm" title="When you describe a database file using data description specifications (DDS), you can describe information at the file, record-format, join, field, key, and select/omit levels.">Describe database files using DDS</a></div>
</div>
</div>
</body>
</html>