Xerox 701P21091 manual Tabid, Criid, Command-keyword

Models: 701P21091

1 498
Download 498 pages 22.54 Kb
Page 183
Image 183

Using logical processing

A specific print line range is specified by the LINENUM parameter, and the line or lines that are being tested contain no record (that is, the lines have been skipped or spaced over).

If the test specifies a change mode function, the CRITERIA command fails because no change has occurred. However, the value for the LAST option of the CHANGE parameter remains unchanged for comparison with the next record.

Test expression The following diagram shows the syntax for a definition of the syntax test expression for a logical processing command. The test

definition is referenced in the syntax of each of the logical processing commands that follow it.

 

 

TEST= criid;

 

 

TEST=(criid1, AND, criid2);

 

 

TEST=(criid1, OR, criid2);

tabid:

TABLE

CONSTANT=sc;

criid:

CRITERIA

CONSTANT=(offset, length, {EQNE}, table);

 

command-keyword

TEST=criid;

Test expression If only one criteria identifier is present (C1 in this case), the test example is satisfied if the criterion is met. If the test is satisfied, the logical

processing function is performed on the tested field.

When two criteria identifiers are present, a test expression that contains OR (such as the RSELECT TEST command in the following example), the test is satisfied if either one of the two identifiers (in this case, C1 or C2) is present.

T1: TABLE

CONSTANT=’Page 001’;

C1: CRITERIA CONSTANT=(100,8,EQ,T1);

C2: CRITERIA CONSTANT=(0,3,NE,LAST);

RSELECT TEST=(C1,OR,C2);

Using LCDS Print Description Language

3-3

Page 183
Image 183
Xerox 701P21091 manual Tabid, Criid, Command-keyword