CRITERIA Command
Using Logical Processing
138
A29247-X4-X-8-7672
for the TEST to be successful.
If OR is coded, then if either CRITERIA command is satisfied for a data record, the TEST
is successful.
The second and third Test parameters are optional; but if either is specified, the other must
also be present.
Specifying one CRITERIA command
To complete the description of the entire test for a logical function, the TEST parameter re-
quires a parameter that specifies either one or two CRITERIA commands. If only one test
is to be performed to determine the value of a particular logical processing function, the
form of the TEST parameter is as follows:
TEST =
cri-id
;
The
cri-id
is the identifier for the particular CRITERIA command. Parentheses in this format
are optional.
Specifying two CRITERIA commands
If two CRITERIA commands are needed to determine the true or false value for a logical
processing function, they may be linked by either an AND or an OR. The formats of these
TEST parameters may be as follows:
TEST = (
cri
,AND,
cri-id-
2
);
or
TEST = (
cri
,OR,
cri-id-
2
);
The
cri-id
and
cri-id-
2
are the identifiers for two CRITERIA commands. The parentheses in
this format are required.
For example, the following three commands specify that a record should be selected (RSE-
LECT parameter) if a particular field is equal to a given string constant (sc):
T1:
TABLE CONSTANT=(sc);
C1:
CRITERIA CONSTANT=(
offset
,
length
,EQ,T1);
RSELECT TEST=(C1);
There are two formats for the CRITERIA commands: constant mode and change mode.
Each CRITERIA command may be either constant mode or change mode, but not both.
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...