beautypg.com

Xerox 4112-4127 Enterprise Printing System-192 User Manual

Page 209

background image

Using logical processing

Using LCDS Print Description Language

3-29

Options

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 on a block basis. Refer to the
figure below.

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.

T1: TABLE

CONSTANT=('P');

C1: CRITERIA

CONSTANT=(0,1,EQ,T1);

BSELECT

TEST=(C1);