Using the PL/I PLISRTx interface

This topic contains a high-level overview of the PLISRTx interfaces to DFSORT. It is designed to introduce you to concepts that help you understand some of the special considerations for using these PL/I interfaces in Language Environment. For a detailed description of how to use PLISRTx, see the IBM Enterprise PL/I for z/OS library .

PL/I provides a SORT interface called PLISRTx. When you make a call to PLISRTx, you replace x with A, B, C, or D, depending on whether your input comes from a data set or a PL/I subroutine, and whether your output is to be written to a data set or processed by a PL/I subroutine:
PLISRTA
Unsorted input is read from a data set and then sorted. The sorted output is written to a data set.
PLISRTB
Unsorted input is provided and processed by a PL/I subroutine before sorting. The sorted output is written to a data set.
PLISRTC
Unsorted input is read from a data set and then sorted. The sorted output is then processed by a PL/I subroutine.
PLISRTD
Unsorted input is provided and processed by a PL/I subroutine before sorting. The sorted output is then processed by a PL/I subroutine.

In the call to PLISRTx, you also pass information about your data, using the SORT and RECORD arguments, and specify the maximum amount of storage you will allow DFSORT to use.