MainframeMaster

z/OS Upgrades Impact on DFSORT

DFSORT is delivered or aligned with the z/OS operating system. When your site upgrades z/OS to a new release or service level, the DFSORT component may be upgraded as well. That can mean a new DFSORT version with additional features, deprecated or removed options, and changes to default behavior or to the way certain options work. PTFs (fixes) applied with the upgrade can also change DFSORT. This page explains how z/OS upgrades can affect DFSORT: why the sort version may change, what to check before and after the upgrade, how PTFs can impact behavior, and where to find the right documentation so your sort jobs continue to run correctly.

Compatibility & Migration
Progress0 of 0 lessons

Why z/OS and DFSORT Are Linked

DFSORT is an IBM product that is supplied with or for z/OS. The level of DFSORT that is installed is typically tied to the z/OS release (or the release plus service). When the operating system is upgraded, the systems programmer or software management process often updates DFSORT to the level that is supported or recommended for that z/OS level. So from an application perspective, a z/OS upgrade is a common time when DFSORT "changes" even if you did not request a separate DFSORT upgrade.

Areas of impact
AreaImpact
DFSORT versionNew level may ship with z/OS upgrade
Deprecated/removed optionsOld options may no longer be valid
Default behaviorDefaults may change; jobs relying on them may behave differently
PTFsFixes can change option behavior or output
DocumentationUse the manual for the new level

What Can Change

A newer DFSORT version can introduce new control statement options and features. It can also deprecate (mark for future removal) or remove old options. Default values for some options may change so that jobs that did not explicitly code the option behave differently. Bug fixes in DFSORT (delivered via PTFs or in the new base) can change output in edge cases—for example, a fix for overflow handling might change the value written in a SUM field when overflow occurs. So after a z/OS (and thus DFSORT) upgrade, jobs that used deprecated or removed syntax may fail; jobs that relied on old defaults or on buggy behavior may produce different results.

Before the Upgrade

Identify the DFSORT (or sort product) level that will be in effect after the z/OS upgrade. Use the product documentation or your site's upgrade plan. Read the release notes and migration material for that level. List deprecated and removed options and any noted default or behavior changes. Then inventory your batch jobs: which ones use those options or rely on that behavior? Plan the control statement updates. If you have a test system that will be at the new level before production, run the affected jobs there and compare output to a baseline from the current level.

PTFs and Fixes

PTFs (Program Temporary Fixes) are maintenance updates. When z/OS is upgraded or when PTFs are applied, DFSORT can receive fixes. A fix might correct a defect that caused incorrect output in rare cases—so after the fix, output might change. A fix might also "tighten" validation and reject control cards that were previously accepted. PTF descriptions usually indicate the component (e.g. DFSORT or the sort product name). When planning or troubleshooting after an upgrade, consider whether recent PTFs could affect the sort step.

After the Upgrade

Run your critical DFSORT jobs and check for abends or new messages. If a job fails, look up the message in the manual for the new DFSORT level. Update control statements as needed (e.g. replace deprecated options). Compare output (record count, key records, totals) to pre-upgrade results for a sample of jobs. Document any jobs that required changes so that future upgrades and maintainers have a reference.

Finding the Right Documentation

Use the DFSORT (or sort product) documentation that matches the level installed with your z/OS release. IBM publishes documentation for each product level; the exact title and location depend on how your site accesses IBM docs (e.g. IBM Knowledge Center, PDF). The first messages in a sort step SYSOUT often include the product name and version—use that to confirm which level is running and which manual to use.

Explain It Like I'm Five

When the big computer (z/OS) gets an update, the sorting tool (DFSORT) that comes with it might get an update too. Some old buttons might be gone or work differently. Before the update, the grown-ups read the new instructions (release notes) and fix the jobs that use those buttons. After the update, they try the jobs to make sure everything still works.

Exercises

  1. Why might your DFSORT job fail or behave differently after a z/OS upgrade even though you did not change the job?
  2. Where would you find which DFSORT version is active after the upgrade?
  3. What are two things you should do before the upgrade regarding sort jobs?
  4. How can a PTF that "fixes" DFSORT change job behavior?

Quiz

Test Your Knowledge

1. How does a z/OS upgrade typically affect DFSORT?

  • DFSORT is never affected
  • DFSORT is often bundled or aligned with z/OS; an upgrade may bring a new DFSORT version with new features, deprecated/removed options, or changed behavior—so jobs may need to be reviewed
  • Only JCL changes
  • Only Syncsort is affected

2. What should you do before a z/OS upgrade regarding DFSORT jobs?

  • Nothing
  • Review DFSORT (or sort product) release notes for the level that will be active after the upgrade; identify deprecated or changed options used by your jobs and plan updates; run tests in a pre-upgrade environment if available
  • Only backup datasets
  • Only change PGM=SORT

3. Can PTFs (fixes) for z/OS change DFSORT behavior?

  • No, PTFs never affect DFSORT
  • Yes; PTFs that fix DFSORT bugs or change options can alter output or acceptance of control statements—check PTF descriptions for DFSORT-related fixes
  • Only APARs
  • Only for Syncsort

4. Where do you find which DFSORT version runs with your z/OS level?

  • Only on the web
  • In the z/OS and DFSORT product documentation: the level of DFSORT (or the sort product) that is shipped or supported with each z/OS release is documented; your site may also document the exact level in use
  • Only in JCL
  • Only in SYSOUT

5. Why might the "same" DFSORT job behave differently after a z/OS upgrade?

  • It cannot
  • The DFSORT code may have been upgraded with z/OS; new code can have different defaults, deprecated/removed options, or bug fixes that change results
  • Only if JCL changed
  • Only if SYSIN changed