Using logical processing
3-58
Using LCDS Print Description Language
RSTACK TEST
Defines the test expression for the “end of report” conditions for
either Change mode or Constant mode criteria.
Syntax
RSTACK TEST =
testexp
Options
Default
No default
RSTACK command: points to note
•
If the TEST expression on the RSTACK command consists
solely of a Change Mode CRITERIA command,
DELIMITER=NO must be coded.
•
If a record that is an RSTACK delimiter (satisfies the test
expression), it must neither be deleted from nor not selected
for printing by the RSELECT or RDELETE logical processing.
If the record satisfies the RSTACK test criteria but is not a
delimiter, it can be deleted from or not selected for printing.
However, it still causes report separation.
•
If an RSTACK command contains a TEST expression that
specifies a constant mode CRITERIA command, and
DELIMITER = YES, the RSTACK command can be used to
detect a heading of a report as a report boundary.
Points to note for online printing:
•
Detection of RSTACK criteria within a not yet recognized
banner page (RSTACK record occurs before BANNER
criteria line) results in subsequent incorrect report separation.
•
Detection of RSTACK criteria in a recognized but incomplete
banner page (RSTACK record occurs after BANNER criteria
line) is ignored.
Table 3-44. TEST parameter options and definitions
Option
Definition
testexp
Defines test criteria that, if satisfied, signals the end of the report for either
Change Mode or Constant Mode criteria.
Refer to “Coding a test expression” earlier in this chapter for the format and
syntax of a
testexp
.
Summary of Contents for Docuprint 75
Page 16: ...Table of contents xvi Using LCDS Print Description Language ...
Page 26: ...Introduction xxvi Using LCDS Print Description Language ...
Page 108: ...PDL principles and procedures 1 82 Using LCDS Print Description Language ...
Page 354: ...Specifying print format parameters 4 114 Using LCDS Print Description Language ...
Page 436: ...Using PDL commands for graphics 6 8 Using LCDS Print Description Language ...
Page 452: ...PDL command and DJDE summary A 16 Using LCDS Print Description Language ...
Page 470: ...Character code assignments C 8 Using LCDS Print Description Language ...
Page 478: ...Offline specifications D 8 Using LCDS Print Description Language ...
Page 506: ...INDEX INDEX 12 Using LCDS Print Description Language ...