Xerox 701P21091 manual Test parameter options and definitions

Models: 701P21091

1 498
Download 498 pages 22.54 Kb
Page 209
Image 209

Using logical processing

Options

 

Table 3-21. TEST parameter options and definitions

 

 

Option

Definition

 

 

 

 

testexp

test expression.

 

Defines a test expression for a block that will be selected for printing

 

(BSELECT) or deleted (BDELETE). (Refer to “Coding a test expression,”

 

earlier in this chapter, for the format and syntax of a testexp.

 

 

 

Default

 

No default

 

 

BSELECT and BDELETE commands: points to note

 

 

 

Note the following when using the BSELECT and BDELETE commands:

It is important to note that block selection or block deletion is performed before the extraction of the records from the block. If a block is deleted from or not selected for printing, none of the records contained within that block are processed or are available for any other logical processing functions.

If a block does not match the same format as the normal blocks, it can be deleted and thus not cause a processing error. For example, a control block in a fixed blocked file may cause a processing error unless it is first deleted.

When defining TABLE CONSTANT or CHANGE parameters, specify offsets to subfields of a block in bytes relative to zero, from the start of the block to the beginning of the subfield.

Examples

This section shows examples of use of the BSELECT and BDELETE commands.

Example 1

The following commands illustrate the use of BSELECT to process interspersed reports (refer to the following figure) on a block basis.

T1: TABLE

CONSTANT=('P');

C1: CRITERIA CONSTANT=(0,1,EQ,T1);

BSELECT TEST=(C1);

Using LCDS Print Description Language

3-29

Page 209
Image 209
Xerox 701P21091 manual Test parameter options and definitions, Bselect and Bdelete commands points to note