The RELEASE control statement is used to signal the construction and release of a sort record to the sort. The actual data released to the sort is dependent on the current values of database fields and defined fields. The RELEASE control statement is only allowed in logic before the sorting (statements preceding the SORT control statement).
The RELEASE control statement is designed to reduce the amount of records that are released to the sort and to allow sorting of iterative fields, such as TEXT (report text line), INST (report instruction line), BINST (bundle instruction line), and A (distribution address line).
If the logic before the sorting drops through to the SORT control statement, an implied release is assumed. Be careful when coding the RELEASE control statement to avoid the release of identical information.
|
Copyright © 2013 CA.
All rights reserved.
|
|