String Comparisons - Xerox DocuPrint 100 Software Manual

Enterprise printing system lcds print description language
Hide thumbs Also See for DocuPrint 100:
Table of Contents

Advertisement

Specifying the
CRITERIA
LINENUM
parameter
Using LCDS Print Description Language
The criid
and criid
1
2
commands. The parentheses in this format are required.
For example, the following three commands specify that a record
should be selected (RSELECT parameter) if a particular field is
equal to a given string constant (sc):
T1: TABLE
C1: CRITERIA
RSELECT
NOTE: A compiler error occurs if you attempt an AND test on
two different criteria that appear on two line ranges that do not
overlap. For example, a logic problem occurs with the ROFFSET
command if Criterion 1 is limited to line 3, and Criterion 2 is
limited to line 2. In this scenario both criteria could never be
satisfied on the same line.
The LINENUM parameter of a CRITERIA command specifies
that only a subset of the data record in a report will be tested for
the user defined criteria. This subset is specified as a set of
contiguous line numbers for a logical page. If the carriage control
specification for a given record places the record within the set of
lines specified by LINENUM, the record is examined according to
the CRITERIA command. Otherwise, it is not processed.

String comparisons

String comparisons for logical processing are specified using the
CRITERIA and TABLE commands. These comparisons test for
one of the following conditions:
Absolute equality: Tested by either a Change mode
CRITERIA command or by a Constant mode CRITERIA
command which references a TABLE command that does not
have a MASK parameter coded (refer to processing
sequence 1 in the figure titled "Commands that specify string
comparisons").
Equality under a mask: Tested when the referenced TABLE
command has a MASK parameter coded (refer to processing
sequence 2 in the following figure).
Comparing strings for equality under a mask means that the
user has specified, for each character position of the input
data string, that the test performed is one of the following:
Using logical processing
are the identifiers for two CRITERIA
CONSTANT =(sc);
CONSTANT =(offset,length,EQ,T1);
TEST=(C1);
3-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents