ibm-information-center/dist/eclipse/plugins/i5OS.ic.dds_5.4.0.1/jlfexam.htm

71 lines
4.2 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="DDS syntax for a join logical file" />
<meta name="DC.Relation" scheme="URI" content="syntaxexam.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="jlfexam" />
<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>DDS syntax for a join logical file</title>
</head>
<body id="jlfexam"><a name="jlfexam"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">DDS syntax for a join logical file</h1>
<div><div class="fignone"><br /><img src="rv2f116.gif" alt="Syntax for a Join Logical&#xA;File. An illustration of a DDS coding form that describes a join logical file." /><br /></div>
<dl><dt class="dlterm"><span>1</span></dt>
<dd>Comments
(optional): Comments can appear on any line in DDS. They are identified by
an asterisk in position 7.</dd>
<dt class="dlterm"><span>2</span></dt>
<dd>File level (optional): File-level keywords appear before the record format
name (RECORD1 on line 00040).</dd>
<dt class="dlterm"><span>3</span></dt>
<dd>Record level (exactly one required): R in position 17 identifies RECORD1
as a record format name. In join logical files, the JFILE keyword is required
for the record format. The record level continues until the first join specification.</dd>
<dt class="dlterm"><span>4</span></dt>
<dd>Join level: J in position 17 identifies the beginning of a join specification.
At the join level, specify at least one join specification. Each join specification
must include at least one JFLD keyword. There must be one JOIN keyword for
each join specification in a join logical file if there is more than one join
specification in the file. A join specification continues until the next
join specification or field name.</dd>
<dt class="dlterm"><span>5</span></dt>
<dd>Field level: At least one field name with usage other than N is required
for join logical files.</dd>
<dt class="dlterm"><span>6</span></dt>
<dd>Key field level (optional): K in position 17 identifies the field as a
key field. A K must be specified for each key field. Specify the key field
level by repeating one or more field names (such as FIELDA) after the field-level
specifications.</dd>
<dt class="dlterm"><span>7</span></dt>
<dd>Select and omit levels (optional): S in position 17 identifies FIELDB
as a select field. (O in position 17 identifies a field as an omit field.)
The select and omit levels follow the key field level.</dd>
</dl>
<div class="note"><span class="notetitle">Note:</span> See the <a href="../rzakb/rzakbmstlfpos.htm">Positional
entries for physical and logical files</a> topic for a description of each
of the columns shown in the figure.</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="syntaxexam.htm" title="These topics provide syntax coding examples. Except for HLPARA, JFILE, JFLD, and PFILE, the keywords shown in these examples are not actual keywords. They indicate where you should specify the keywords.">Examples: DDS syntax coding</a></div>
</div>
</div>
</body>
</html>