Using Logical Processing
RSELECT and RDELETE Commands
A29247-X4-X-8-7672
157
4.10 RSELECT and RDELETE Commands
Interspersed records within one report or file may either be deleted from or selected for
printing by use of the RDELETE and RSELECT commands. These commands can also se-
lectively delete specialized records, for example, control records and offset records that are
on the data tape but are not to be printed.
The following section describes the syntax of the command parameters and explanations
of the parameter options.
TEST
This parameter defines test expressions for selection (RSELECT) or deletion (RDELETE)
or records for printing.
Points to note
Note the following when using the RSELECT and RDELETE commands:
•
When defining TABLE CONSTANTS or CHANGE parameters, offsets to the subfields
of the records are specified in bytes, relative to zero from the start of the user's portion
of the record to the beginning of the subfield.
RSELECT, RDELETE, RRESUME and RSUSPEND are only allowed in offline environ-
ments. Record selection or deletion is performed prior to RAUX and suspend or resume. If
a record satisfying either the RAUX suspend or resume test criteria was previously not se-
lected for, or deleted from printing, neither the RAUX nor suspend nor resume functions.
Example
The following commands illustrate the use of RDELETE to process interspersed reports on
a record basis.
T1:
TABLE CONSTANT=('EFGH');
C1:
CRITERIA CONSTANT=(104,4,EQ,T1);
RDELETE TEST=C1;
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.
Parameter
Definition(s)
TEST=
test-exp
test-exp
The format and syntax of a test-exp are defined in the ”Test expression definition”
section. If a test-exp is satisfied, the record is selected for printing. If the RDELETE
test-exp is satisfied, the record is deleted from the printed output.
There is no default.
Summary of Contents for XDL
Page 1: ...Oc Oc Reference Guide Oc PRISMAproduction Server V3 10 LCDS Module XDL DJDE...
Page 4: ...A29247 X4 X 8 7672...
Page 66: ...Summary of VOLUME Command Parameters Input Processing 58 A29247 X4 X 8 7672...
Page 118: ...Summary of OUTPUT Command Parameters Continuation Print Processing 110 A29247 X4 X 8 7672...
Page 120: ...Summary of OUTPUT Command Parameters Continuation Print Processing 112 A29247 X4 X 8 7672...
Page 121: ...Print Processing Summary of OUTPUT Command Parameters Continuation A29247 X4 X 8 7672 113...
Page 123: ...Print Processing Summary of OUTPUT Command Parameters Continuation A29247 X4 X 8 7672 115...
Page 125: ...Print Processing Summary of OUTPUT Command Parameters Continuation A29247 X4 X 8 7672 117...
Page 142: ...Summary of STOCKSET Statement Command Parameters Print Processing 134 A29247 X4 X 8 7672...
Page 176: ...RSUSPEND and RRESUME Commands Using Logical Processing 168 A29247 X4 X 8 7672...
Page 240: ...Migrating to HC Highlight Color Support 232 A29247 X4 X 8 7672...