Using logical processing
Using LCDS Print Description Language
3-17
Options
Default
No default
CRITERIA
CONSTANT
parameter syntax
example
The following CRITERIA command syntax diagram describes a
test for a subfield equal to a specific constant table.
criid
: CRITERIA CONSTANT=(
offset
,
length
, EQ,
tabid
);
In the above syntax, the CONSTANT parameter specifies that
the content of a record is to be compared to the values that were
specified in a TABLE command with identifier
tabid
. Refer to the
“TABLE command” section in this chapter for an explanation of
the
tabid
parameter.
The subfield that will be compared is located the number of bytes
indicated by the
offset
variable from the start of the user portion
of the record. The subfield has a length the number of bytes
indicated in the
length
variable. When the subfield in the record
matches a constant in the table, the CRITERIA command is
TRUE and the processing specified by the parameter is
completed or acted upon.
CRITERIA LINENUM
Specifies the range of consecutive line numbers for which the
CRITERIA command is fully evaluated.
Syntax
CRITERIA LINENUM = (
init
,
count
)
Table 3-9. CRITERIA CONSTANT parameter options and definitions
Option
Definition
offset
The offset in bytes (relative to zero) from the start of the user 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
Indicates the operation EQUAL TO.
NE
Indicates “not equal to.”
tabid
table identifier
.
The identifier of a table, specified in the TABLE command, that contains the
constant to which the test field is compared.
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 ...