Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Sorting under CICS

There is no IBM sort product that is supported under CICS. However, you can use the SORT statement with a sort program you write that runs under CICS to sort small amounts of data.

You must have both an input and an output procedure for the SORT statement. In the input procedure, use the RELEASE statement to transfer records from the COBOL program to the sort program before the sort is performed. In the output procedure, use the RETURN statement to transfer records from the sort program to the COBOL program after the sort is performed.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)