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.
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.
Note: You must specify the field
or keyword on the same line as the last (or only) set of indicators you specified.
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.
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.
Note: 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.
Specify the conditions by entering the following values:
- Position 7 (AND)
- 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).
- Position 7 (OR)
- 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).
- Positions 8, 11, 14 (NOT)
- 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).
Condition more than one field or keyword in printer files
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 Figure 1 if indicator
30 is off, SPACEA and UNDERLINE are not in effect.
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.