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

87 lines
5.5 KiB
HTML
Raw Permalink 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="Reference for ICF files (position 29)" />
<meta name="abstract" content="Specify R in this position to use the reference function of the program to copy the attributes of a previously defined named field (called the referenced field) to the field you are defining." />
<meta name="description" content="Specify R in this position to use the reference function of the program to copy the attributes of a previously defined named field (called the referenced field) to the field you are defining." />
<meta name="DC.subject" content="reference positional entry" />
<meta name="keywords" content="reference positional entry" />
<meta name="DC.Relation" scheme="URI" content="cmnfl.htm" />
<meta name="DC.Relation" scheme="URI" content="../dds/specref.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakemsticfref.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakemsticfreff.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="ref290" />
<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>Reference for ICF files (position 29)</title>
</head>
<body id="ref290"><a name="ref290"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Reference for ICF files (position 29)</h1>
<div><p>Specify R in this position to use the reference function of the
program to copy the attributes of a previously defined named field (called
the referenced field) to the field you are defining.</p>
<div class="section"><p>The referenced field can be previously defined in the ICF file
you are defining. The referenced field can also be defined in a previously
created database file (the database file to be referenced is specified with
the REF or REFFLD keyword). The field attributes referenced are the length,
data type, and decimal positions of the field, as well as the ALIAS, FLTPCN,
and TEXT keywords.</p>
<p>If you do not specify R, you cannot use the reference
function for this field and you must specify field attributes for this field.</p>
<p>Position
29 must be blank at the file and record levels.</p>
<p>The name of the referenced
field can be either the same as the field you are defining or different from
the field you are defining. If the name of the referenced field is the same
as the field you are defining, you need only specify the letter R in position
29 (in addition to specifying the name of the field you are defining in positions
19 through 28). If the name of the field you are defining is different, you
must specify the name of the referenced field with the REFFLD (Referenced
Field) keyword.</p>
<p>You can specify the name of
the file defining the referenced field as a parameter value with the REF or
REFFLD keyword.</p>
<p>You do not need to copy all attributes
from the previously described field to the field you are defining. To override
specific attributes of the referenced field, specify those attributes for
the field you are defining. For example, if you specify a length for the
field you are defining, the length is not copied from the referenced field.</p>
<p>When
you override the data type to character (by specifying A in position 35),
the decimal positions value is not copied from the referenced field.</p>
<div class="note"><span class="notetitle">Note:</span> After the ICF file is created, you can delete or change
the referenced file without affecting the field descriptions in the ICF file.
Delete and re-create the ICF file to incorporate changes made in the referenced
file.</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 class="relref"><strong>Related reference</strong><br />
<div><a href="rzakemsticfreff.htm" title="Use this field-level keyword when referring to a field under one of the several conditions.">REFFLD (Referenced Field) keyword for ICF files</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../dds/specref.htm">When to specify REF and REFFLD keywords for DDS files</a></div>
<div><a href="rzakemsticfref.dita">REF (Reference) keyword for ICF files</a></div>
</div>
</div>
</body>
</html>