![background image](http://html1.mh-extra.com/html/oce/xdl/xdl_reference-manual_3216756145.webp)
Using Logical Processing
CRITERIA Command
A29247-X4-X-8-7672
137
Notes to CRITERIA
The activation of testing is done by coding the TEST parameter of any logical processing
command described in this chapter. Either one or two CRITERIA commands can be spec-
ified.
Test expression definition
The following is a definition of the test expression for a logical processing command. The
test definition is referred to in the syntax of each of the logical processing commands that
follow:
TEST=
cri-id
;
TEST=(
cri-id
1
,AND,
cri-id
2
);
TEST=(
cri-id
1
,OR,
cri-id
2
);
The
cri-id
1
and
cri-id
2
are identifiers for either the change mode or constant mode CRITE-
RIA commands discussed in this section. If only
cri-id
is present, the test is satisfied if the
criteria in
cri-id
is satisfied.
If two CRITERIA commands are specified for a test, the testing of two is linked by either an
AND or an OR logical operator.
If AND is coded, both CRITERIA commands must be true for the same data record in order
CONSTANT=
(offset,length,
EQ | NE,
tab-id
)
offset
The offset in bytes (relative to zero) from the start of the physical tape block to a
field within the tape block being compared to a table or string constant. In the case
of record processing, it is the offset from the start of the user's portion of the record
to the field in the record being compared.
length
The length in bytes of the test field. Its range is 1 to 255
EQ | NE
Keywords that specify the operation of equal to or not equal to.
tab-id
The identifier of a TABLE command.
There is no default.
LINENUM=
(
init, count
)
This parameter specifies the range of consecutive line numbers for which the CRI-
TERIA command is fully evaluated.
init
An integer specifying the number, on each page, of the beginning line for which the
CRITERIA command is evaluated.
count
An integer specifying the consecutive number of lines (starting with init) for which
the CRITERIA command is evaluated.
The default is all lines.
Parameter
Definition(s)
Summary of Contents for XDL
Page 1: ...Oc Oc Reference Guide Oc PRISMAproduction Server V3 10 LCDS Module XDL DJDE...
Page 4: ...A29247 X4 X 8 7672...
Page 66: ...Summary of VOLUME Command Parameters Input Processing 58 A29247 X4 X 8 7672...
Page 118: ...Summary of OUTPUT Command Parameters Continuation Print Processing 110 A29247 X4 X 8 7672...
Page 120: ...Summary of OUTPUT Command Parameters Continuation Print Processing 112 A29247 X4 X 8 7672...
Page 121: ...Print Processing Summary of OUTPUT Command Parameters Continuation A29247 X4 X 8 7672 113...
Page 123: ...Print Processing Summary of OUTPUT Command Parameters Continuation A29247 X4 X 8 7672 115...
Page 125: ...Print Processing Summary of OUTPUT Command Parameters Continuation A29247 X4 X 8 7672 117...
Page 142: ...Summary of STOCKSET Statement Command Parameters Print Processing 134 A29247 X4 X 8 7672...
Page 176: ...RSUSPEND and RRESUME Commands Using Logical Processing 168 A29247 X4 X 8 7672...
Page 240: ...Migrating to HC Highlight Color Support 232 A29247 X4 X 8 7672...