80 lines
4.5 KiB
HTML
80 lines
4.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="task" />
|
|||
|
<meta name="DC.Title" content="Define a physical file using DDS" />
|
|||
|
<meta name="abstract" content="You use file-level, record-level, field-level, and key-field-level entries to define a physical file with DDS." />
|
|||
|
<meta name="description" content="You use file-level, record-level, field-level, and key-field-level entries to define a physical file with DDS." />
|
|||
|
<meta name="DC.subject" content="defining a physical file" />
|
|||
|
<meta name="keywords" content="defining a physical file" />
|
|||
|
<meta name="DC.Relation" scheme="URI" content="phlogf1.htm" />
|
|||
|
<meta name="DC.Relation" scheme="URI" content="../dds/rbafpmstsyntax.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="dphydds" />
|
|||
|
<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>Define a physical file using DDS</title>
|
|||
|
</head>
|
|||
|
<body id="dphydds"><a name="dphydds"><!-- --></a>
|
|||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|||
|
<h1 class="topictitle1">Define a physical file using DDS</h1>
|
|||
|
<div><p>You use file-level, record-level, field-level, and key-field-level
|
|||
|
entries to define a physical file with DDS.</p>
|
|||
|
<div class="section"> <p>A physical file can contain only one record
|
|||
|
format. Follow these instructions to define a physical file:</p>
|
|||
|
</div>
|
|||
|
<ol><li class="stepexpand"><span>Specify the record format in either of the following two
|
|||
|
ways:</span> <ul><li>Define a new record format. <p>Specify field and key-field
|
|||
|
specifications as required for the new record format.</p>
|
|||
|
</li>
|
|||
|
<li>Share an existing record format.<p>Use the FORMAT keyword
|
|||
|
to specify that the operating system is to use a previously defined record
|
|||
|
format from another physical file. When the FORMAT keyword is used, you must
|
|||
|
specify key-field level specifications again (if a keyed access path is required)
|
|||
|
even if they were specified on the existing record format.</p>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="stepexpand"><span>Specify the entries in the following order to define a physical
|
|||
|
file:</span> <ol type="a"><li>File-level entries</li>
|
|||
|
<li>Record-level entries</li>
|
|||
|
<li>Field-level entries</li>
|
|||
|
<li>Key field-level entries</li>
|
|||
|
</ol>
|
|||
|
</li>
|
|||
|
</ol>
|
|||
|
<div class="section"> <div class="note"><span class="notetitle">Note:</span> The file name is specified through the Create Physical File
|
|||
|
(CRTPF) command, not through DDS.</div>
|
|||
|
<p>The maximum number
|
|||
|
of fields in a record format is 8000. If any of the fields in the record format
|
|||
|
are date, time, timestamp, variable length, or allows the null value, then
|
|||
|
the actual maximum number of fields can be less than 8000. The maximum number
|
|||
|
of fields can vary depending on the number of fields and combinations of fields
|
|||
|
that occur within the record format. The maximum number of bytes in a record
|
|||
|
format is 32 766 if variable length fields are not included and 32 740
|
|||
|
if variable length fields are included.</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div>
|
|||
|
<div class="familylinks">
|
|||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="phlogf1.htm" title="This topic provides information about coding physical and logical files that use DDS, and describes the positional entries used by these files.">Define physical and logical files using DDS</a></div>
|
|||
|
</div>
|
|||
|
<div class="relinfo"><strong>Related information</strong><br />
|
|||
|
<div><a href="../dds/rbafpmstsyntax.htm">Rules for DDS keywords and parameter values</a></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
</html>
|