Examples - Oce XDL Reference Manual

Lcds-module xdl/djde
Table of Contents

Advertisement

Using Logical Processing

4.6.2 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 (re-
fer 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.
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;
A29247-X4-X-8-7672
BSELECT and BDELETE Commands
151

Advertisement

Table of Contents
loading

This manual is also suitable for:

DjdePrismaproduction server v3.10

Table of Contents