Using logical processing

Interaction with RSTACK

A record that satisfies the RSTACK criteria is detected, and it terminates the report and record suspension, regardless of whether or not the printing of records was suspended at the time.

DJDE records are not processed if record printing has been suspended. Refer to the “Using Dynamic Job Descriptor Entries (DJDEs)” chapter for further information.

If the criteria for RSTACK and RSUSPEND are satisfied on the same record, that record delimits the report, and the record is suspended.

Make sure that, if an RSUSPEND command is coded, an RRESUME command is also present for the job. A warning is issued by the XJDC compiler if one, but not both, commands is invoked for a job. However, the JDE is compiled as programmed.

If a data record satisfying the test expression in the RSUSPEND is encountered, printing is suspended. If no record that satisfies the test expression in the RRESUME command is encountered (or no RRESUME command is present for the job), there is no output generated for records that occur after the point of suspension.

Record selection or deletion is performed before RSUSPEND or RRESUME processing. If a record satisfying either the suspend or resume test criteria was not selected for or was deleted from printing, it does not cause either the suspend or resume function.

The records just before print suspension and after resumption should have compatible printer carriage control (PCC) characters. No additional carriage control characters are inserted by the system during the print suppression.

Use of the LINENUM parameter in the CRITERIA command is not recommended when using RRESUME. Because carriage control characters are not processed during print suppression, the line number used by the system is that which existed before the suppression started. This could result in the test criteria being either unexpectedly satisfied or never satisfied as a function of the line number where the print suppression started.

Using LCDS Print Description Language

3-51

Page 231
Image 231
Xerox FreeFlow manual Interaction with Rstack