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

60 lines
3.5 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="concept" />
<meta name="DC.Title" content="DDS syntax for a physical 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="pfexam" />
<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 physical file</title>
</head>
<body id="pfexam"><a name="pfexam"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">DDS syntax for a physical file</h1>
<div><div class="fignone"><br /><img src="rv2f114.gif" alt="Syntax for a Physical File.&#xA;An illustration of a DDS coding form that describes a physical 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 (RECORD on line 00040).</dd>
<dt class="dlterm"><span>3</span></dt>
<dd>Record level (only one record is allowed in physical files): R in position
17 identifies RECORD as a record format name. The record level continues until
the first field is named.</dd>
<dt class="dlterm"><span>4</span></dt>
<dd>Field level (at least one field name is required, unless the FORMAT keyword
is specified on the record): For fields in physical files, specify at least
a name and length. Other attributes can be specified explicitly or by default.</dd>
<dt class="dlterm"><span>5</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 a field name (here, FIELDA) after the field-level specifications.</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>