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

96 lines
7.3 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="Examples: DDS for each file type" />
<meta name="abstract" content="This topic provides examples of data description specifications (DDS) for each type of file discussed in this topic. If you choose, you can use the examples in this topic with appropriate high-level language programs." />
<meta name="description" content="This topic provides examples of data description specifications (DDS) for each type of file discussed in this topic. If you choose, you can use the examples in this topic with appropriate high-level language programs." />
<meta name="DC.subject" content="examples of DDS" />
<meta name="keywords" content="examples of DDS" />
<meta name="DC.Relation" scheme="URI" content="examples.htm" />
<meta name="DC.Relation" scheme="URI" content="fldrefexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="physfileexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="logfileexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="logfilerecexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="logfilejoinexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="inquiryfileexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="sflpagexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="hllpagexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="horizonexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="msgsubexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="printerexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="icffileexamp.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="examp" />
<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>Examples: DDS for each file type</title>
</head>
<body id="examp"><a name="examp"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Examples: DDS for each file type</h1>
<div><p>This topic provides examples of data description specifications
(DDS) for each type of file discussed in this topic. If you choose, you can
use the examples in this topic with appropriate high-level language
programs.</p>
<ul><li>Examples of database files include the following types:<ul><li>Field reference file (a physical file used for reference, not data storage)</li>
<li>Physical file</li>
<li>Logical file</li>
</ul>
</li>
<li>Examples of device files include the following types:<ul><li>Display file with help specifications</li>
<li>Subfile examples</li>
<li>Printer file</li>
<li>ICF file</li>
</ul>
</li>
</ul>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="fldrefexamp.htm">Example: A field reference file</a></strong><br />
This example defines all of the fields used in an application and refers to fields only within the field reference file itself.</li>
<li class="ulchildlink"><strong><a href="physfileexamp.htm">Example: A physical file with a new record format</a></strong><br />
The REF keyword is important in this example. This file has one record format. The names of all fields in the record format are specified. This example uses fields in a reference file (REF keyword) and uses a keyed-sequence access path.</li>
<li class="ulchildlink"><strong><a href="logfileexamp.htm">Example: A logical file specifying multiple formats and new keys</a></strong><br />
The PFILE keyword is important in this example. The example uses new field specifications and provides two record formats. Each record format provides a different view of the associated physical file and uses a key different from the associated physical file.</li>
<li class="ulchildlink"><strong><a href="logfilerecexamp.htm">Example: A logical file specifying a new record format</a></strong><br />
The UNIQUE keyword is important in this example. The example specifies a record format different from the associated physical file.</li>
<li class="ulchildlink"><strong><a href="logfilejoinexamp.htm">Example: A join logical file</a></strong><br />
The join logical file joins three physical files (PF1, PF2, and PF3) in this example, so that an application program can get name, address, and salary information in one input operation, even though the information is stored in three different physical files.</li>
<li class="ulchildlink"><strong><a href="inquiryfileexamp.htm">Example: An inquiry display with two record formats in DDS</a></strong><br />
The display is defined by the DDS in this example. It is displayed by output operations to the record formats PROMPT and RESPONSE.</li>
<li class="ulchildlink"><strong><a href="sflpagexamp.htm">Example: A subfile with SFLPAG value equal to SFLSIZ value</a></strong><br />
The display is defined by the DDS in this example. It is displayed by an output operation to the subfile control-record format SFLCTL1.</li>
<li class="ulchildlink"><strong><a href="hllpagexamp.htm">Example: A subfile with paging by i5/OS operating system and high-level language program</a></strong><br />
This example describes a combined method of paging a subfile that uses system resources efficiently.</li>
<li class="ulchildlink"><strong><a href="horizonexamp.htm">Example: A horizontal subfile displayable on two display sizes</a></strong><br />
The two displays show the subfile defined in this example as it appears on the 24 x 80 and 27 x 132 display sizes.</li>
<li class="ulchildlink"><strong><a href="msgsubexamp.htm">Example: A message subfile using DDS</a></strong><br />
The display shows the message subfile defined in this example.</li>
<li class="ulchildlink"><strong><a href="printerexamp.htm">Example: A printer file using DDS</a></strong><br />
This printer file example contains DDS for printing a customer master list.</li>
<li class="ulchildlink"><strong><a href="icffileexamp.htm">Example: An ICF file using DDS</a></strong><br />
This example contains DDS for transmitting data between the <span class="keyword">iSeries™</span> server and a remote system or
device.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="examples.htm" title="These topics include a wide variety of examples that illustrate how you can use DDS.">Examples: DDS coding</a></div>
</div>
</div>
</body>
</html>