Oce XDL Reference Manual page 146

Lcds-module xdl/djde
Table of Contents

Advertisement

CRITERIA Command
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-
or
TEST = (cri,OR,cri-id-
The cri-id and cri-id-
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:
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.
138
are the identifiers for two CRITERIA commands. The parentheses in
2
TABLE CONSTANT=(sc);
CRITERIA CONSTANT=(offset,length,EQ,T1);
RSELECT TEST=(C1);
);
2
);
2
Using Logical Processing
A29247-X4-X-8-7672

Advertisement

Table of Contents
loading

This manual is also suitable for:

DjdePrismaproduction server v3.10

Table of Contents