String Comparisons - Xerox 6100BD - Phaser Color Laser Printer Software Manual

Using lcds print description language
Hide thumbs Also See for 6100BD - Phaser Color Laser Printer:
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 "Commands that specify string
comparisons" figure later in this chapter.
Equality under a mask: Tested when the referenced TABLE
command has a MASK parameter coded. Refer to
Processing sequence 2 in the "Commands that specify string
comparisons" figure later in this chapter.
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