USING LOGICAL PROCESSING
XEROX DOCUPRINT 180 LPS PDL REFERENCE 7-3
CRITERIA commandThe basic element used to describe a test for a logical function is the
CRITERIA command. Each CRITERIA command describes a field in
either a record or block and the specific test to be perf ormed. The
CRITERIA command requires an identifier that can be specified in
any of the logical processing commands, as a TEST parameter. The
definition of the TEST parameters for logical processing command s
is described in the “Test expressions ”section.
Specific TEST parameters are described in the individ ual logical
processing command sections.
A CRITERIA command may use any or all of its three parameters to
specify the conditions which must be met in order for a given
operation to be completed. A JSL may contain any number of
CRITERIA commands which you can specify for a particular print job
by calling out the appropriat e CRITERIA identifier. For e xample, the
following criteria are specified at the system level:
T1: TABLE MASK=’?’,CONSTANT=’HE?DE? PAGE’;
C1: CRITERIA CONSTANT=(1,11,EQ,T1),
LINENUM=(1,10);
T2: TABLE CONSTANT=’TRAILER PAGE’;
C2: CRITERIA CONSTANT=(0,12,EQ,T2),
LINENUM=(1,10);
Criteria C1 and C2 are then specified at the job level:
HDRP: JOB;
BANNER TEST=C1,HCOUNT=2,TCOUNT=0;
TRLP: JOB;
BANNER TEST=C2,HCOUNT=0,TCOUNT=3;
BOTH: JOB;
BANNER TEST=(C1 OR C2),HCOUNT=2,TCOUNT=3;
Refer to “Test expressions” section for additional information.