Using logical processing

Options

Table 3-27. RDELETE and RSELECT TEST parameter options and

definitions

Option

Definition

 

 

 

 

testexp

• For RSELECT: Specifies the test criteria that, if met, will cause the record

 

to be selected for printing.

 

• For RDELETE: Specifies the test criteria that, if met, will cause the record

 

to be deleted from the printed output.

 

Refer to “Coding a test expression” earlier in this chapter for the format and

 

syntax of a testexp.

 

 

Default No default

RDELETE and RSELECT commands: point to note

The RSELECT and RDELETE commands are supported on the

FreeFlow Print Server LCDS systems only for offline printing.

RDELETE command example

The following commands illustrate the use of RDELETE to process interspersed reports on a record basis. Refer to the figure below.

T1: TABLE

CONSTANT=('EFGH');

C1: CRITERIA

CONSTANT=(104,4,EQ,T1);

RDELETE

TEST=C1;

The above example shows that, if the contents of a deletion control field located 104 bytes from the start of the user portion of the record are equal to the constant 'EFGH,’ the record is not printed.

In the example illustrated in the following figure, records 2 and 6 will not be printed.

3-36

Using LCDS Print Description Language

Page 216
Image 216
Xerox FreeFlow Rdelete and Rselect commands point to note, Rdelete command example, T1 Table CONSTANT=EFGH C1 Criteria