ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakc_5.4.0.1/rzakcmstdfsfctl.htm

152 lines
7.6 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="reference" />
<meta name="DC.Title" content="SFLCTL (Subfile Control) keyword for display files" />
<meta name="abstract" content="Use this record-level keyword to specify that this record format is to be a subfile control record format. This record format must immediately follow the subfile record format." />
<meta name="description" content="Use this record-level keyword to specify that this record format is to be a subfile control record format. This record format must immediately follow the subfile record format." />
<meta name="DC.subject" content="SFLCTL (Subfile Control) keyword, Subfile Control (SFLCTL) keyword" />
<meta name="keywords" content="SFLCTL (Subfile Control) keyword, Subfile Control (SFLCTL) keyword" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstdfsfmky.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstdfsfmrc.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstdfsfpmq.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="rzakcmstdfsfctl" />
<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>SFLCTL (Subfile Control) keyword for display files</title>
</head>
<body id="rzakcmstdfsfctl"><a name="rzakcmstdfsfctl"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">SFLCTL (Subfile Control) keyword for display files</h1>
<div><p>Use this record-level keyword to specify that this record format
is to be a subfile control record format. This record format must immediately
follow the subfile record format.</p>
<div class="section"><div class="p">The format of the keyword is: <pre>SFLCTL(subfile-record-format-name)</pre>
</div>
<p>You
must specify the name of the subfile record format as the parameter value
for this keyword. The subfile control record format can contain field descriptions
as well as subfile control keywords.</p>
<p>Your program can display subfile
records only by issuing an output operation to the subfile control record
format.</p>
<p>The subfile record format (SFL keyword) defines the format of
the records in the subfile as opposed to the subfile control record format
(SFLCTL keyword), which defines how the subfile can be displayed, cleared,
deleted, and initialized. The program sends output operations to the subfile
record format to build the subfile. It also sends output operations to the
subfile control record format, setting option indicators for various subfile
keywords to display, clear, delete, and initialize the subfile.</p>
<p>The
following tables are a summary of subfile keywords used with
the SFLCTL keyword. (Field-level keywords are used with fields in the subfile
control record format.)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="0" rules="none"><caption>Table 1. Required
keywords</caption><tbody><tr><td valign="top" width="100%"><p>SFLCTL<br />
SFLDSP<br />
SFLPAG<br />
SFLSIZ</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="0" rules="none"><caption>Table 2. Optional keywords</caption><tbody><tr><td align="left" valign="top" width="50%"><p>CHCAVAIL<br />
CHCSLT<br />
CHCUNAVAIL<br />
SFLCLR<br />
SFLDLT<br />
SFLDROP<br />
SFLDSPCTL<sup>1</sup><br />
SFLEND<br />
SFLENTER<br />
SFLFOLD<br />
SFLINZ</p>
</td>
<td align="left" valign="top" width="50%"><p>SFLLIN<br />
SFLMCLTCHC<br />
SFLMSG<br />
SFLMSGID<br />
SFLPGMQ<br />
SFLRCDNBR<br />
SFLRNA<br />
SFLROLVAL<br />
SFLSCROLL<br />
SFLSNGCHC</p>
</td>
</tr>
<tr><td colspan="2" align="left" valign="top"> <sup>1</sup>The
SFLDSPCTL keyword is required if your program sends an input operation to
the subfile control record format.</td>
</tr>
</tbody>
</table>
</div>
<div class="p">If subfile size equals subfile page, the following keywords are
ignored. When several display sizes are used (DSPSIZ keyword specified), these
keywords are ignored only for display sizes for which subfile size equals
subfile page: <p>SFLDROP<br />
SFLFOLD<br />
SFLROLVAL</p>
</div>
<div class="p">If the subfile record format contains field selection,
the following keywords are not valid on the subfile control record format:
<p>SFLDROP<br />
SFLFOLD<br />
SFLINZ<br />
SFLLIN<br />
SFLRCDNBR<br />
SFLRNA (because SFLINZ is not valid)<br />
SFLROLVAL</p>
</div>
<p>The USRDFN keyword is not valid for the subfile control
record format.</p>
<p>The keywords CHCAVAIL, CHCSLT, and CHCUNAVAIL can be
used only if either SFLSNGCHC or SFLMLTCHC is also used.</p>
<p>Option indicators
are not valid for this keyword.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the SFLCTL keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A R SFLR SFL
A*
A* (at least one displayable field)
A*
00020A R SFLCTLR SFLCTL(SFLR)
00030A SFLPAG(17)
00040A SFLSIZ(17)
00050A SFLDSP
00060A SFLDSPCTL
A</pre>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakcmstkeyent.htm" title="You type the keyword entries that define display files in positions 45 through 80 (functions).">DDS keyword entries for display files (positions 45 through 80)</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rzakcmstdfsfmky.htm" title="Use this field-level keyword on the first field in the subfile record format for a message subfile (Subfile (SFL) and Subfile Message Record (SFLMSGRCD) keywords specified).">SFLMSGKEY (Subfile Message Key) keyword for display files</a></div>
<div><a href="rzakcmstdfsfmrc.htm" title="Use this record-level keyword on the subfile record format to specify that this subfile is to be a message subfile and that the records displayed when the subfile is displayed are to be messages from a program message queue.">SFLMSGRCD (Subfile Message Record) keyword for display files</a></div>
<div><a href="rzakcmstdfsfpmq.htm" title="Use this field-level keyword on the second (and last) field in the subfile record format for a message subfile.">SFLPGMQ (Subfile Program Message Queue) keyword for display files</a></div>
</div>
</div>
</body>
</html>