Sorting under CICS
There is no IBM® sort
product that is supported under CICS®.
However, you can use the format 1
with a sort program you write that runs under CICS to sort small amounts of data. You can also use the format 2
under CICS to sort tables.
You must have both an input and an output procedure
for the format 1
In the input procedure, use the
to transfer records from the COBOL program to the sort program before
the sort is performed. In the output procedure, use the
to transfer records from the sort program to the COBOL program after
the sort is performed.
SORT statement is supported under CICS and you don't need to write a special
Coding the input procedure
Coding the output procedure
Coding COBOL programs to run under CICS