Previous Topic: Creating a Sparse ListingNext Topic: Demonstration


What You Can Do

You can eliminate repeated occurrences of selected fields on printed output by forcing a control break on a work field that is not tied to input data.

How to Do It

  1. Define a numeric work field.
  2. Code the work field on a SORT parameter as a low-order sort key with a control break.
  3. Code a type 7 statement that increments the control-break work field by 1. (A control break will then occur on each extract record when the value of the work field changes.)
  4. Code type 8 instructions for processing the control break.