SORT parameters specify a sequence for extracted data and establish control breaks when sort-key fields change. As many as 20 unique sort-keys fields can be specified for each report; each sort-key field has its own ascending or descending sequence indicator.
A control break code can be specified on each sort-key field. This code calls for a control break when the value of the sort-key field changes. In most cases, subtotals print when a control break executes. The value of the control break code determines report spacing associated with total lines.
The number of control break codes determines the maximum value of LEVL for the report. LEVL, a CA Culprit reserved word, is used in type 8 procedure logic.
The SORT parameter can be omitted if sorting is not required and control breaks are not needed.
Syntax for the SORT parameter is shown on the following page.
|
Copyright © 2014 CA.
All rights reserved.
|
|