You are looking for a faster way to sort large data sets directly from Natural;
the native sort function may not have the efficiency you need.
You may also require
an affordable, convenient and faster facility for large file processing and reporting
while sourcing and targeting huge work files to and from Natural.
Solutions:
IRI's CoSort package
contains a plug 'n' play sort library for users of Software AG Natural on
Unix. With no user impact and a simple Makefile link, the CoSort engine
can sort within Natural up to six times faster than the native sort.
In addition to this drop-in sort replacement, CoSort's file transformation
and reporting program, SortCL,
can be called from Natural directly with:
CALL
shcmd $COSORT_HOME/bin/sortcl /spec=job.scl
where the /INFILE(s) into, and /OUTFILE(s) from SortCL can be Natural
WORK FILEs. This allows greater flexibility for off-loading high volume
file manipulation, and reformatting jobs to SortCL. SortCL functions also
protect field data at risk.
CoSort and Natural are also used in the 'Operational Processing for Unix'
(OPX) legacy migration application environment developed by Tetrad Systems.
OPX integrates easily with Software AG Natural tools, and includes a SORT
wrapper interface to CoSort for re-hosting and extending JCL sort functionality.