ECN-4336 SORT changes in the runtime

Type of Change: Enhancement

Product: ACUCOBOL-GT

Module: Run Time

New Version: 10.0

Machines Affected: All

DESCRIPTION of enhancement

The internals of the runtime SORT verb have been updated to provide a new mode of operation for SORT that avoids a significant amount of file I/O and may provide better performance for large SORT operations. A new method of managing the temporary files used by SORT means that fewer files are used in most cases.

The previous configuration, using the SORT_FILES configuration variable, is no longer used by a runtime in extend 10.0 or later. Instead, use two new configuration variables A_SORT_REGIONS and A_SORT_REGIONS_FINAL.

Another new configuration variable, A_SORT_FILE_MEMORY, may be used to specify an amount of memory to be used for buffering file operations on the temporary files used in the SORT operation.

These enhancements have also resulted in the 6-byte internal minimum record size for SORT, documented in ECN-1514, to be removed for extend 10.0 or later.