Customizing when DFSORT is not the primary sort product

If you use a non-IBM sort product as your primary sort product, and you want to enable File Manager to use DFSORT, you must place the DFSORT libraries after your primary sort product libraries in the system search order.

Note: DFSORT and non-IBM sort products typically have some entry points with the same names, for example SORT and ICEMAN. Therefore if the DFSORT libraries are placed before your primary sort products libraries, DFSORT will become the primary sort product. In this situation, if you do not have a license for DFSORT all sort jobs that use your primary sort product will fail.
If you use a non-IBM sort product as your primary sort product, you will have installed it in one of the following ways:
  • Resident: Your primary sort products libraries are in LPALST or the LINKLIST or both.
  • Non-Resident: Your primary sort products libraries are private libraries.
  1. If you have installed your sort product resident, place DFSORT's SORTLPA and SICELINK libraries in the LINKLIST, (after your primary sort product libraries in the LINKLIST, if any), to enable File Manager to use DFSORT.
  2. If you have installed your sort product non-resident, you will need to take different actions to enable File Manager to use DFSORT under ISPF and in batch.
    Under ISPF (interactively)
    To enable File Manager to use DFSORT under ISPF, add the DFSORT libraries, SICELINK and SORTLPA, in that order, after your primary sort product libraries, to the STEPLIB DD statement in your TSO logon procedure. (If you do not want to add these libraries to your TSO logon procedure, you can add them via the TSOLIB command, before invoking ISPF.)
    In batch
    To enable File Manager to use DFSORT in batch, add the DFSORT libraries, SICELINK and SORTLPA, in that order, to the JOBLIB or STEPLIB DD statement for the job or step that uses File Manager, after your primary sort products libraries. You might want to create a File Manager JCL procedure for use at your site.

    You could also add the DFSORT libraries to the STEPLIB DD statement in the batch JCL skeleton. If you do this, you must also add your primary sort products libraries. You must add them in this order, your sort product libraries, followed by SICELINK, then SORTLPA. For more information about the batch JCL skeleton, see Changing the JCL skeleton for batch mode.

DFSORT uses an SVC in the SORTLPA library. By default this is SVC 109. This SVC is used by DFSORT to record SMF type-16 records or to use IBM® cached DASD devices (such as the 3990 model 3). If your non-IBM sort product uses its own version of SVC 109, you will need to make an alternative SVC number the default SVC for DFSORT. For information on installing DFSORT's SVC, see DFSORT Installation and Customization for your release of DFSORT.

File Manager does not need the DFSORT SVC for its own operations. Therefore, if DFSORT if not your primary sort product, it is not necessary to install the DFSORT SVC.