Using logical processing
Options
Table 3-27. RDELETE and RSELECT TEST parameter options and
Option
testexp
Default
3-36
Definition
•
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.
No default
RDELETE and RSELECT commands: point to note
The RSELECT and RDELETE commands are supported on the
DP EPS 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
following figure).
T1: TABLE
C1: CRITERIA
RDELETE
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.
definitions
CONSTANT=('EFGH');
CONSTANT=(104,4,EQ,T1);
TEST=C1;
Using LCDS Print Description Language