DFSORT is an IBM product. How it is licensed—whether as part of z/OS or as a separate licensed program product—depends on your IBM agreement and z/OS release. Many sites also license third-party sort products (e.g. Syncsort). This page gives a high-level overview of licensing as it relates to using sort on the mainframe: who handles it, what application programmers need to know, and how it might affect which product you use.
Licensing is typically handled by your organization's system programming, procurement, or IT licensing team. They negotiate and maintain the contract with IBM (and any third-party vendors). As an application programmer, you do not usually deal with license terms directly. You use the sort product that is installed and licensed at your site. If you are told to use a specific product (e.g. "use DFSORT, not Syncsort") or to avoid certain features for license reasons, your support team will communicate that.
DFSORT is supplied by IBM. It may be included with z/OS or offered as a licensed program product (LPP). The exact packaging and license terms depend on your IBM agreement and the z/OS version. In many environments, DFSORT is available as the default sort utility, and batch jobs use PGM=SORT or PGM=ICEMAN to run it. Your site's license determines whether and how you can use it (e.g. for production, development, or testing).
Some sites license a third-party sort product instead of or in addition to DFSORT. A common one is Syncsort (from Precisely). These products often provide the same or similar JCL interface (e.g. PGM=SORT) and support similar control statement syntax, with some differences. The choice of product is usually made at the organizational level based on performance, cost, support, or legacy. From your perspective, you write JCL and control statements; the actual program that runs may be DFSORT or Syncsort depending on what is in the load library. The messages in SYSOUT (e.g. ICE for DFSORT, WER for Syncsort) identify which product ran.
For day-to-day development you need to know:
Licensing determines what your organization is allowed to use. Installation is what is actually loaded and available on the system. The two go together: your site licenses a product, then system programmers install it so that when you run PGM=SORT, that product runs. If a product is not licensed, it should not be installed (or used). If you get a "program not found" or a message about an unlicensed product, that is a matter for your system or licensing team to resolve.
Licensing is like having a permission slip to use the sorting machine. The company (your organization) gets the permission slip from the machine maker (IBM or another vendor). You don't get the slip yourself—the people who run the building (system programmers and licensing) do. You just use the machine that is there and that the company is allowed to use. If someone says "we can't use that machine anymore," they might be talking about the permission slip (license); you would then use whatever other machine (sort product) the company has permission to use.
1. Who is typically responsible for DFSORT licensing at a site?
2. Can a site use a sort product other than IBM DFSORT?
3. What do application programmers need to know about sort licensing?
4. How might licensing affect which sort program runs?
5. Is DFSORT free?