Using logical processing

CRITERIA

CHANGE parameter syntax example

Syntax

If the LINENUM parameter is used, lines within the specified range are processed normally, and lines outside the range are not evaluated. Thus, Change mode comparison strings are not saved from lines outside of a LINENUM range. (Refer to the CRITERIA LINENUM parameter description in this chapter for information on using this parameter of the CRITERIA command.)

“No print” records (carriage control specifies no printing but only skipping or spacing) are evaluated for logical processing.

A Change mode CRITERIA command can be coded as follows:

criid: CRITERIA CHANGE= (offset, length, NE, LAST),

LINENUM= (init, count);

CRITERIA CONSTANT

Specifies that the content of a record will be compared to the values that were specified in a TABLE command with the identifier tabid. The CRITERIA CONSTANT specification is referenced by the TEST parameter of the logical processing command that follows it in the JSL.

CONSTANT also specifies the location and length of the fixed field within a record that will be searched for the constant. The field to be compared is located the number of bytes indicated by the offset variable from the start of the user portion of the record. The field has a length the number of bytes indicated in the length variable.

When the field in the record matches a constant in the table and is equal (EQ), the CRITERIA command is TRUE, and the processing that was specified by the parameter is performed. If the field matches a constant in the table, but is not equal (NE), the command is FALSE.

ac: CRITERIA CONSTANT = (offset, length, {EQ NE}, tabid)

3-16

Using LCDS Print Description Language

Page 196
Image 196
Xerox 701P21091 manual Change parameter syntax example Syntax, Criteria Constant