Using logical processing

CRITERIA command parameters

A CRITERIA command may contain only one specification of one of these parameters: CONSTANT, CHANGE, or VALUE. In addition, it may optionally contain the LINENUM parameter. Thus, one or two parameters must be provided in the CRITERIA command.

The following table summarizes the CRITERIA command parameters and gives their uses and functions.

Table 3-7. Summary of CRITERIA command parameters

Parameter

Specifies

Online

Offline

DJDE

 

 

 

 

 

 

 

 

 

 

CRITERIA CHANGE

Specifies the Change mode criteria for a

Y

Y

N

 

logical processing function; that is, the length

 

 

 

 

and location of a control field in each record,

 

 

 

 

to which the content of the preceding record is

 

 

 

 

compared.

 

 

 

 

 

 

 

 

CRITERIA CONSTANT

Specifies the Constant mode criteria for a

Y

Y

N

 

logical function; that is, the location and length

 

 

 

 

of a fixed field within a record that will be

 

 

 

 

searched for a constant (also specified by this

 

 

 

 

parameter).

 

 

 

 

 

 

 

 

CRITERIA LINENUM

Specifies the range of numbers of consecutive

Y

Y

N

 

lines on which records will be tested for the

 

 

 

 

specified criteria.

 

 

 

 

 

 

 

 

CRITERIA VALUE

Specifies a magnitude comparison between

Y

Y

N

 

numeric character strings

 

 

 

 

 

 

 

 

CRITERIA CHANGE

Defines test specifications for a logical processing function with Change mode criteria. Specifies the length and location of a control field in each record, to which the next record is compared. When the content of one record differs from the content of the control field of the previous record, the criteria test is TRUE.

Syntax ac: CRITERIA CHANGE = (offset, length, NE, LAST)

3-14

Using LCDS Print Description Language

Page 194
Image 194
Xerox FreeFlow manual Summary of Criteria command parameters, Criteria Change