ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzake_5.4.0.1/icfcond.htm

91 lines
5.6 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="Condition for ICF files (positions 7 through 16)" />
<meta name="abstract" content="Positions 7 through 16 are a multiple-field area in which you can specify option indicators." />
<meta name="description" content="Positions 7 through 16 are a multiple-field area in which you can specify option indicators." />
<meta name="DC.subject" content="conditioning positional entry, option indicators" />
<meta name="keywords" content="conditioning positional entry, option indicators" />
<meta name="DC.Relation" scheme="URI" content="cmnfl.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="icfcond" />
<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>Condition for ICF files (positions 7 through 16)</title>
</head>
<body id="icfcond"><a name="icfcond"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Condition for ICF files (positions 7 through 16)</h1>
<div><p><span>Positions 7 through 16 are a multiple-field
area in which you can specify option indicators.</span></p>
<div class="section"><p>Option indicators are 2-digit numbers from 01 to 99. Your program
can set option indicators on (hex F1) or off (hex F0) to select a keyword
for output operations. In ICF files, option indicators are valid only for
record- and file-level keywords.</p>
<p>A condition is an ANDed grouping of
two through nine indicators that must all be in effect (set off if the letter
N is specified; set on if N is not specified) before the keyword is selected.
You can specify a maximum of nine indicators for each condition and nine
conditions for each keyword. Therefore, a maximum of 81 indicators can be
specified for each keyword, when nine indicators are used with nine conditions.
An AND condition occurs when you specify a condition requiring that more than
one indicator must be on or off before the condition is satisfied. The first
indicator you specify, AND the second, AND the third, and so on, must all
be in effect before the condition is satisfied and the keyword is selected.
You must specify the keyword on the same line as the last (or only) set of
indicators specified.</p>
<p>You can also specify several conditions for a
keyword so that if any one of them is satisfied, the keyword is selected.
This is called an OR relationship. In an OR relationship, if the first condition
is satisfied, OR the second condition, OR the third condition, and so on,
the keyword is selected. Note that conditions within the OR relationship can
consist of just one indicator or can consist of several indicators ANDed together.
Indicators can be ANDed to form a condition. Conditions can be ORed to give
your program several ways to select the keyword.</p>
<div class="p">Specify the conditions
by entering the following values: <dl><dt class="dlterm">Position 7 (AND)</dt>
<dd>If you need more than three indicators to form an ANDed condition, specify
the indicators on the next line or lines. You can specify an A in position
7 on the second or following lines to continue the ANDed condition, or you
can leave it blank because A is the default.</dd>
<dt class="dlterm">Position 7 (OR)</dt>
<dd>If you specify several conditions that are to be ORed together, each condition
must start on a new line and each condition, except the first, must have an
O in position 7. An O specified for the first condition produces a warning
message, and that position is assumed to be blank.</dd>
<dt class="dlterm">Positions 8, 11, 14 (NOT)</dt>
<dd>If you want an indicator to be off instead of on to satisfy a condition,
specify an N in the position just preceding the indicator (position 8, 11,
or 14).</dd>
</dl>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Condition more than one keyword for ICF files</h4><p>If
you want to condition one or more keywords, the last (or only) indicator must
appear on the same line as the keywords. If the conditioning applies to keywords
on more than one line, you must use keyword continuation for the indicators
to apply to all keywords. See the <a href="../dds/rbafpmstsyntax.htm">syntax rules</a> in the DDS Concept
information for details.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="cmnfl.htm" title="Here are some rules and examples for filling in positions 1 through 44 of the data description specifications (DDS) form.">Define an ICF file using DDS</a></div>
</div>
</div>
</body>
</html>