Xerox 721P85530 Printer User Manual


 
USING LOGICAL PROCESSING
XEROX DOCUPRINT 180 LPS PDL REFERENCE 7-7
either an AND or an OR. The formats of these TEST parameters may
be as follows:
TEST = (
cri
,AND,
cri-id-
2
);
or
TEST = (
cri
,OR,
cri-id-
2
);
The
cri-id
and
cri-id-
2
are the identifiers for two CRITERIA
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 CONSTANT=(sc);
C1: CRITERIA CONSTANT=(
offset
,
length
,EQ,T1);
RSELECT TEST=(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.
Constant mode
In the constant mode, the user must specify the location, length, and
contents of a fixed field within a user’s record or block. Each user’s
record or block is examined at the specified location to determine if
the constant is present (the identifier tab-id defines the table
containing the constant). If present, the CRITERIA command is true;
if not, the command is false. A constant mode CRITERIA command
can be coded as follows:
cri-id
:CRITERIA CONSTANT= (
offset
,
length
,EQ | NE,),
tab-id
LINENUM=(
init
,
count
);
The
tab-id
is the name (or identifier) of a value TABLE.
Change mode
In change mode, the user must specify the length and location of a
control field in each record or block. When the content of the control
field of one record (or block) differs from the content of the control
field of the previous record (or block), the CRITERIA command is
true.
A change mode CRITERIA command can be coded as follows:
cri-id
: CRITERIA
CHANGE=(
offset
,
length
,NE,LAST),
LINENUM=(
init
,
count
);
LINENUM parameter
The LINENUM parameter of a CRITERIA command specifies that
only a subset of a report’s data records are to be tested for the user-
defined criteria. This subset is specified as a set of contiguous line
numbers for a page. If the carriage control specification for a given
record is such that the record is placed within the set of lines
specified by LINENUM, the record is examined according to the
CRITERIA command. Otherwise, it is not processed.