beautypg.com

Xerox 96MX User Manual

Page 299

background image

USING LOGICAL PROCESSING

XEROX DOCUPRINT 96/DOCUPRINT 96MX LPS PDL REFERENCE

7-19

Examples

This section shows examples of using 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);

The contents of the first byte of each tape block (offset=0, length=1)
is examined for the character constant ’P’. When a ’P’ is detected, the
entire block is selected (BSELECT) for printing. When the first byte
of any block does not contain a ’P’, that block is bypassed and not
printed. In this example, only block 1 is printed.

Figure 7-2 shows a sample of how BSELECT and BDELETE
commands are used.

Figure 7-2.

Sample BSELET and BDELETE command usage

Example 2

The BDELETE command to delete the blocks on the tape that have
$$11 is shown below:

T1: TABLE CONSTANT=(’$$11’);
C1: CRITERIA CONSTANT=(4,4,EQ,T1);
BDELETE TEST=C1;