Sort, merge and Report Writer
SORT with USING and GIVING, then with an input and an output procedure, and the RELEASE and RETURN that feed it. MERGE and sorting an indexed file follow. The last two lessons are the Report Writer and the breaks and limits of it that this compiler builds.
081
SORT with USING and GIVING
SORT ... ON ASCENDING KEY, USING, GIVING, and a DESCENDING key beside it
Open
082
SORT with procedures
INPUT PROCEDURE, OUTPUT PROCEDURE, and the SELECT of the work file
Open
083
RELEASE and RETURN
a record released into the sort, a record returned from it, and the counters
Open
084
MERGE
two sorted files, MERGE ... USING, GIVING, and the order the output keeps
Open
085
Sorting an indexed file
read, sort, rewrite, and the status of every step
Open
086
Report Writer: the basics
REPORT SECTION, RD, PAGE, TYPE DETAIL, GENERATE and the report it prints
Open
087
Report Writer: breaks and limits
CONTROL, TYPE CONTROL HEADING, a break footer, and what 3.2 does not support
Open