115 lines
9.5 KiB
HTML
115 lines
9.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="reference" />
|
||
|
<meta name="DC.Title" content="Positional entries for physical and logical files (positions 1 through 44)" />
|
||
|
<meta name="abstract" content="The first 44 positions of the DDS form are called positional entries." />
|
||
|
<meta name="description" content="The first 44 positions of the DDS form are called positional entries." />
|
||
|
<meta name="DC.subject" content="positional entries for physical and logical files, physical files, positional entries, logical files" />
|
||
|
<meta name="keywords" content="positional entries for physical and logical files, physical files, positional entries, logical files" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="phlogf1.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lfseq.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lfform.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lfcmmt.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lfcond.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lftype.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lftrsrvd.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lfname.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="pfrefer.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lleng.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="ldata.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="ldec.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lfusg.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lfloc.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="simpmult.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="joins.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="lfname.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="ldata.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="ldec.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="lfpos" />
|
||
|
<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>Positional entries for physical and logical files (positions 1 through
|
||
|
44)</title>
|
||
|
</head>
|
||
|
<body id="lfpos"><a name="lfpos"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Positional entries for physical and logical files (positions 1 through
|
||
|
44)</h1>
|
||
|
<div><p>The first 44 positions of the DDS form are called positional entries.</p>
|
||
|
<div class="example"><p>The following example shows some positional entries for physical
|
||
|
files.</p>
|
||
|
<div class="fignone" id="lfpos__bfig1"><a name="lfpos__bfig1"><!-- --></a><span class="figcap">Figure 1. Physical file coding example</span><pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
00010A* PHYSICAL FILE CODING EXAMPLE
|
||
|
00020A REF(INVENCTL/INVENTORY)
|
||
|
00030A UNIQUE
|
||
|
00040A R ORDFMT TEXT('Format for Purchase Orders')
|
||
|
00050A ORDNBR 7 0 COLHDG('Order' 'Number')
|
||
|
00060A ITMNBR R 10
|
||
|
00070A SUPNBR R +2 REFFLD(SUPID SUPLIB/SUPMST)
|
||
|
00080A QTYORD 5B
|
||
|
00090A K ORDNBR
|
||
|
00100A K ITMNBR ABSVAL
|
||
|
A</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="lfseq.htm">Sequence number for physical and logical files (positions 1 through 5)</a></strong><br />
|
||
|
Use these positions to specify a sequence number for each line on the form. The sequence number is optional and is used for documentation purposes only.</li>
|
||
|
<li class="ulchildlink"><strong><a href="lfform.htm">Form type for physical and logical files (position 6)</a></strong><br />
|
||
|
Type an A in this position to designate this as a DDS form. The form type is optional and is for documentation purposes only.</li>
|
||
|
<li class="ulchildlink"><strong><a href="lfcmmt.htm">Comment for physical and logical files (position 7)</a></strong><br />
|
||
|
Type an asterisk (*) in this position to identify this line as a comment. Use positions 8 through 80 for comment text.</li>
|
||
|
<li class="ulchildlink"><strong><a href="lfcond.htm">Conditioning for physical and logical files (positions 8 through 16)</a></strong><br />
|
||
|
These positions do not apply to physical or logical files. Leave these positions blank unless you use them for comment text.</li>
|
||
|
<li class="ulchildlink"><strong><a href="lftype.htm">Type of name or specification for physical and logical files (position 17)</a></strong><br />
|
||
|
Type a value in this position to identify the type of name or, for logical files, the type of specification. If you specify a name type, the name is specified in positions 19 through 28.</li>
|
||
|
<li class="ulchildlink"><strong><a href="lftrsrvd.htm">Reserved for physical and logical files (position 18)</a></strong><br />
|
||
|
This position does not apply to any file type. Leave this position blank unless you use it for comment text.</li>
|
||
|
<li class="ulchildlink"><strong><a href="lfname.htm">Name for physical and logical files (positions 19 through 28)</a></strong><br />
|
||
|
Use these positions to specify record or field names.</li>
|
||
|
<li class="ulchildlink"><strong><a href="pfrefer.htm">Reference for physical and logical files (position 29)</a></strong><br />
|
||
|
You use this position to specify reference for physical files only.</li>
|
||
|
<li class="ulchildlink"><strong><a href="lleng.htm">Length for physical and logical files (positions 30 through 34)</a></strong><br />
|
||
|
Use these positions to specify the length of a physical or logical file field.</li>
|
||
|
<li class="ulchildlink"><strong><a href="ldata.htm">Data type for physical and logical files (position 35)</a></strong><br />
|
||
|
For a physical file, use this position to specify the data type of the field within the database. Specify data type in a logical file only to override or change the data type of the corresponding field in the physical file on which this logical file is based.</li>
|
||
|
<li class="ulchildlink"><strong><a href="ldec.htm">Decimal positions for physical and logical files (positions 36 and 37)</a></strong><br />
|
||
|
Use these positions to specify the decimal placement within a packed decimal, zoned decimal, binary, or floating-point field.</li>
|
||
|
<li class="ulchildlink"><strong><a href="lfusg.htm">Usage for physical and logical files (position 38)</a></strong><br />
|
||
|
Use this field to specify that a named field is to be an input-only, both (both input and output are allowed), or neither field.</li>
|
||
|
<li class="ulchildlink"><strong><a href="lfloc.htm">Location for physical and logical files (positions 39 through 44)</a></strong><br />
|
||
|
These positions do not apply to physical or logical files. Leave these positions blank unless you use them for comment text.</li>
|
||
|
</ul>
|
||
|
|
||
|
<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="reltasks"><strong>Related tasks</strong><br />
|
||
|
<div><a href="simpmult.htm" title="You must specify the PFILE keyword at the record level for simple and multiple format logical files. In a multiple format logical file, a record format can use only the fields common to all the physical files specified on the PFILE keyword for that record format.">Simple and multiple format logical files in DDS</a></div>
|
||
|
<div><a href="joins.htm" title="Join logical files combine different fields from more than one physical file into a single record. You must specify the JFILE keyword at the record level for join logical files.">Join logical files in DDS</a></div>
|
||
|
</div>
|
||
|
<div class="relref"><strong>Related reference</strong><br />
|
||
|
<div><a href="lfname.htm" title="Use these positions to specify record or field names.">Name for physical and logical files (positions 19 through 28)</a></div>
|
||
|
<div><a href="ldata.htm" title="For a physical file, use this position to specify the data type of the field within the database. Specify data type in a logical file only to override or change the data type of the corresponding field in the physical file on which this logical file is based.">Data type for physical and logical files (position 35)</a></div>
|
||
|
<div><a href="ldec.htm" title="Use these positions to specify the decimal placement within a packed decimal, zoned decimal, binary, or floating-point field.">Decimal positions for physical and logical files (positions 36 and 37)</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|