Using logical processing
3-10
Using LCDS Print Description Language
Constant mode
In Constant mode (that is, when the CRITERIA CONSTANT
parameter has been specified), you must specify the location,
length, and contents of a fixed field within a record. Each record
is examined at the specified location to determine if the constant
is present (the identifier
tabid
defines the table containing the
constant). If the specified constant is present and equal (EQ), the
CRITERIA command is true; if the constant is present and not
equal (NE), the command is false.
Change mode
In Change mode (that is, when the CRITERIA CHANGE
parameter has been specified), you must specify the length and
location of a control field in each record. When the content of the
control field of one record differs from the content of the control
field of the previous record, the CRITERIA command is true.
Value mode
In Value mode (that is, when the CRITERIA VALUE parameter
has been specified), you compare two numerical values, testing
if they are equal (EQ) or not equal (NE), if one value is greater
than (GT) or less than (LT) the other value, or if one value is
greater than or equal to (GE) or less than or equal to (LE) the
other value. If the test on the two values is satisfied, the
CRITERIA command is true; if not, the command is false.
Using the CRITERIA command
To complete the description of the entire test for a logical
function, the TEST parameter of a logical processing command
must specify either one or two CRITERIA commands.
Specifying one
CRITERIA
command
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 = criid;
The
criid
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 AND or OR. The formats of these TEST parameters
may be as follows:
TEST = (criid1, AND, criid2);
or
TEST = (criid1, OR, criid2);
Summary of Contents for Docuprint 75
Page 16: ...Table of contents xvi Using LCDS Print Description Language ...
Page 26: ...Introduction xxvi Using LCDS Print Description Language ...
Page 108: ...PDL principles and procedures 1 82 Using LCDS Print Description Language ...
Page 354: ...Specifying print format parameters 4 114 Using LCDS Print Description Language ...
Page 436: ...Using PDL commands for graphics 6 8 Using LCDS Print Description Language ...
Page 452: ...PDL command and DJDE summary A 16 Using LCDS Print Description Language ...
Page 470: ...Character code assignments C 8 Using LCDS Print Description Language ...
Page 478: ...Offline specifications D 8 Using LCDS Print Description Language ...
Page 506: ...INDEX INDEX 12 Using LCDS Print Description Language ...