ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakd_5.4.0.1/prtcond.htm

87 lines
5.8 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="Condition for printer files (positions 7 through 16)" />
<meta name="abstract" content="Use these positions to specify option indicators (2-digit numbers from 01 to 99). Then have your program set option indicators on (hexadecimal F1) or off (hexadecimal F0) to select a field or keyword." />
<meta name="description" content="Use these positions to specify option indicators (2-digit numbers from 01 to 99). Then have your program set option indicators on (hexadecimal F1) or off (hexadecimal F0) to select a field or keyword." />
<meta name="DC.subject" content="conditioning positional entry" />
<meta name="keywords" content="conditioning positional entry" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstposy1.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="prtcond" />
<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 printer files (positions 7 through 16)</title>
</head>
<body id="prtcond"><a name="prtcond"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Condition for printer files (positions 7 through 16)</h1>
<div><p>Use these positions to specify option indicators (2-digit numbers
from 01 to 99). Then have your program set option indicators on (hexadecimal
F1) or off (hexadecimal F0) to select a field or keyword.</p>
<div class="p">By specifying two to nine indicators that must all be in effect (set off
if N is specified; set on if N is not specified) before the field or the keyword
is selected, you create an AND condition. <div class="note"><span class="notetitle">Note:</span> You must specify the field
or keyword on the same line as the last (or only) set of indicators you specified.</div>
</div>
<p>Specify up to nine indicators for each condition and nine conditions for
each field or keyword. A maximum of 81 indicators can be specified for each
keyword when nine indicators are used with nine conditions.</p>
<div class="p">By specifying several conditions for a field or keyword, you create an
OR relationship. If any one of the conditions is satisfied, the field or the
keyword is selected. <div class="note"><span class="notetitle">Note:</span> Conditions within the OR relationship can consist
of one indicator or 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 field or the keyword.</div>
</div>
<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
them in the same positions on the next line or lines of the DDS form. Specify
A in position 7 on the following lines to designate the continuation of the
AND condition, or leave it blank (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 (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 N in the position just preceding the indicator (position 8, 11, or
14).</dd>
</dl>
</div>
<div class="section"><h4 class="sectiontitle">Condition more than one field or keyword in printer files</h4><p>If
you condition a field, the field name (or the constant) and the last (or only)
indicator must be on the same line. If you specify one or more keywords for
the field, only the field is conditioned, not the keywords. If
the field is not selected for an output operation, no keywords specified for
that field are in effect, regardless of how the keywords are conditioned.
For example, in <a href="zprint.htm#zprint__ddsex">Figure 1</a> if indicator
30 is off, SPACEA and UNDERLINE are not in effect.</p>
<p>If you want to condition
one or more keywords, specify the keywords and the last (or only) indicator
on the same line. If the conditioning applies to keywords on multiple lines,
keyword continuation must be used for the indicators to apply to all the keywords.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakdmstposy1.htm" title="You can find how to specify the first 44 positions of the data description specifications form for printer files in this topic.">Positional entries for printer files (positions 1 through 44)</a></div>
</div>
</div>
</body>
</html>