Using Logical Processing; Logical Processing Commands; Criteria Command - Oce XDL Reference Manual

Lcds-module xdl/djde
Table of Contents

Advertisement

Using Logical Processing

4 Using Logical Processing
The logical processing (sometimes referred to as "conditional processing") commands en-
able the user to specify logical functions performed on either a record, a set of records, or
on a block basis.

4.1 Logical Processing Commands

To define a logical processing command fully, you must specify one or two fields in the
record or block to be tested. In general, a logical processing command has the following
format:
command TEST = test-exp;
The logical processing command tests the value of the specified test-exp and directs the
flow of processing based on the result of the test.
The text-exp portion of the command defines a test to be performed on either one or two
specified fields and their associated constants for a true or false value. The fields in the
record or block are compared with their associated set of constants using either an equal
(EQ) or a not equal (NE) operator. The basic element used to describe a test for a logical
function is the CRITERIA command.

4.2 CRITERIA Command

The 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 performed. The CRITERIA command requires an identifier that can be specified in
any of the logical processing commands, as a TEST parameter.
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 appropriate CRITERIA identifier. For example, the following criteria are specified at
the JSL-System level:
A29247-X4-X-8-7672
Logical Processing Commands
135

Advertisement

Table of Contents
loading

This manual is also suitable for:

DjdePrismaproduction server v3.10

Table of Contents