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

125 lines
6.9 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="Example: A horizontal subfile displayable on two display sizes" />
<meta name="abstract" content="The two displays show the subfile defined in this example as it appears on the 24 x 80 and 27 x 132 display sizes." />
<meta name="description" content="The two displays show the subfile defined in this example as it appears on the 24 x 80 and 27 x 132 display sizes." />
<meta name="DC.subject" content="examples of DDS, horizontal subfile" />
<meta name="keywords" content="examples of DDS, horizontal subfile" />
<meta name="DC.Relation" scheme="URI" content="rbafpmstexamp.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="horizonexamp" />
<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>Example: A horizontal subfile displayable on two display sizes</title>
</head>
<body id="horizonexamp"><a name="horizonexamp"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Example: A horizontal subfile displayable on two display sizes</h1>
<div><p>The two displays show the subfile defined in this example as it
appears on the 24 x 80 and 27 x 132 display sizes.</p>
<pre class="screen">
COLUMN 1 COLUMN 2
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
</pre>
<pre class="screen">
COLUMN 1 COLUMN 2
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
_____ XXXXXXXXXXXXXXXX _____ XXXXXXXXXXXXXXXX
</pre>
<div class="p">The following keywords are important in the example: <p>DSPSIZ<br />
SFLLIN</p>
</div>
<p>Subfile records appear in two columns (SFLLIN keyword). The subfile can
be displayed on two display sizes (DSPSIZ keyword).</p>
<div class="fignone" id="horizonexamp__o18"><a name="horizonexamp__o18"><!-- --></a><span class="figcap">Figure 1. Horizontal subfile on two display sizes</span><pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A* HORIZONTAL SUBFILE ON TWO DISPLAY SIZES
00020A*
00030A <strong>(1)</strong> DSPSIZ(*DS3 *DS4)
00040A R SFL1 SFL
00050A FLDA 10Y 0I 3 11
00060A FLDB 16 O 3 23
A
00070A R SFLCTL1 SFLCTL(SFL1)
00080A SFLSIZ(50)
00090A <strong>(2)</strong> SFLPAG(16)
00100A *DS4 <strong>(2)</strong> SFLPAG(40)
00110A <strong>(3)</strong> SFLLIN(5)
00120A *DS4 <strong>(3)</strong> SFLLIN(5)
A
00130A 01 SFLEND
00140A 02 SFLDSP
00150A 03 SFLDSPCTL
00160A 04 SFLCLR
A
00170A 1 21'COLUMN 1'
A
00180A 1 55'COLUMN 2'
A</pre>
</div>
<div class="p"><strong>Legend: </strong> <dl><dt class="dlterm">(1)</dt>
<dd>There is one keyword at the file level, the keyword DSPSIZ (optional).
This keyword has two values, *DS3 and *DS4, which indicate that the primary
display size is 24 x 80, and the secondary display size is 27 x 132.</dd>
<dt class="dlterm">(2)</dt>
<dd>The SFLPAG keyword (required), is specified once with a value of 16 and
again with a value of 40. The first time it applies to a device with the
primary display size (default of *DS3, or 24 x 80); the second time, coded
with a condition name of *DS4, it applies to a device with the secondary display
size (27 x 132).</dd>
<dt class="dlterm">(3)</dt>
<dd>The SFLLIN keyword causes a subfile to be displayed horizontally. The
parameter value specifies the number of spaces between columns of records.
In this example, five spaces separate columns of records on both the 24 x
80 display size (*DS3) and the 27 x 132 display size (*DS4). Because *DS3
is the primary display size, it does not need to be specified in positions
9 through 12.</dd>
</dl>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafpmstexamp.htm" title="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.">Examples: DDS for each file type</a></div>
</div>
</div>
</body>
</html>