

Totals Processing Techniques › Creating a Sparse Listing › What You Can Do
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
- Define a numeric work field.
- Code the work field on a SORT parameter as a low-order sort key with a control break.
- 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.)
- Code type 8 instructions for processing the control break.
Copyright © 2014 CA.
All rights reserved.
 
|
|