MainframeMaster

Migrating from Older Versions

When your site upgrades DFSORT (or the sort product supplied with z/OS) to a newer version, existing jobs may be affected. Newer versions can deprecate or remove options, change default behavior, or fix bugs in a way that changes output. To migrate safely, you need to know what changed, which jobs use those features, and how to update and test them. This page explains how to migrate from older DFSORT versions: using release notes and migration guides, handling deprecated and removed options, adjusting for changed defaults, and testing after the upgrade so your batch jobs continue to run correctly.

Compatibility & Migration
Progress0 of 0 lessons

Why Upgrades Affect Jobs

Software upgrades introduce new features, fix defects, and sometimes remove or change old behavior. DFSORT is no exception. An option that was valid in an older version may be deprecated (still works but scheduled for removal) or removed (no longer accepted). A default that your job relied on (e.g. without coding an option explicitly) may change. Bug fixes can alter output in edge cases. So after an upgrade, some jobs may fail with syntax or option errors, or may produce different results. Migration means identifying those jobs and updating them before or soon after the upgrade.

Migration steps
StepActionPurpose
1Read release notes and migration guideIdentify deprecated, removed, and changed options
2Inventory jobsList jobs that use affected options
3Update control statementsReplace deprecated/removed options with supported alternatives
4TestRun with representative data; compare output
5DocumentNote changes for future reference

Release Notes and Migration Guides

The first place to look is the product release notes for the version you are moving to. They typically list: new features, deprecated features (with replacement when available), removed features, and incompatible or behavior changes. A migration or compatibility section may summarize what you must do. For DFSORT, this is often part of the z/OS or DFSORT product documentation. APARs (Authorized Program Analysis Reports) may describe specific fixes that change behavior. Read these before the upgrade so you can plan which jobs to change and in what order.

Deprecated and Removed Options

A deprecated option is one that still works but is planned for removal in a future release. You should stop using it and switch to the recommended alternative so that when the option is finally removed, your job does not break. A removed option is no longer accepted; the job will fail (e.g. with an "invalid keyword" or similar message). The release notes usually state the replacement. For example, an old keyword might be replaced by a new keyword with the same effect, or you may need to achieve the same result with a different combination of statements. Update the control cards and test.

Changed Defaults

Sometimes the default value of an option changes. If your job did not code that option (relying on the default), behavior can change after the upgrade. For example, a default for overflow handling or for record format might change. The release notes should call out such changes. Search for "default" or "behavior" in the release notes. If you rely on default behavior, consider coding the option explicitly so the job is insensitive to future default changes (and is self-documenting).

Testing After Upgrade

After upgrading, run your critical DFSORT jobs with representative input. Compare the output to a baseline from the previous version: same record count, same key records (spot-check), same totals or trailers. Pay special attention to jobs that used any deprecated, removed, or changed options—those are the ones most likely to differ. If you have a test environment, run the full batch suite there first. Document any jobs that required changes and keep a short note of what was updated so future maintainers understand.

Where to Get Help

Product documentation and release notes are the primary source. Your site may have an upgrade project team or a standard process for DFSORT/z/OS upgrades. If a job fails with a message you do not recognize, look up the message in the current version manual; the explanation often tells you what replaced an old option or what changed. For IBM DFSORT, IBM documentation and support channels apply.

Explain It Like I'm Five

When the sort program gets an update, some of the old buttons might be taken off or renamed. The instruction book (release notes) says which buttons are gone and what to use instead. Before you use the new version for real work, you try your usual tasks (testing) to make sure everything still does what you expect. If something breaks, you read the book and change how you push the buttons (update the job).

Exercises

  1. Where would you look to find out if an option your job uses is deprecated in the new DFSORT version?
  2. What is the difference between deprecated and removed?
  3. Why might a job that did not change still behave differently after an upgrade?
  4. List three things you would compare when testing a job after an upgrade.

Quiz

Test Your Knowledge

1. Why should you check release notes when upgrading DFSORT?

  • Only for new features
  • Newer versions may deprecate or remove options, change default behavior, or fix bugs that your job relied on; release notes list these so you can adjust before or after the upgrade
  • Release notes are only for z/OS
  • DFSORT never changes

2. What is a deprecated feature?

  • A new feature
  • A feature that is still supported but marked for removal in a future release; you should stop using it and migrate to the recommended alternative so the job continues to work
  • A bug
  • Only in Syncsort

3. How should you test jobs after a DFSORT upgrade?

  • No testing needed
  • Run critical and changed jobs with representative data; compare output (record count, key records, totals) to the previous version or to a baseline; pay special attention to jobs that used deprecated or changed options
  • Only run one job
  • Only check SYSOUT

4. Where do you find what changed between DFSORT versions?

  • Only on the web
  • In the product release notes, APARs, and documentation (e.g. "What's new", "Migration" or "Compatibility" sections) for the version you are moving to
  • Only in JCL
  • DFSORT has no documentation

5. What if your job uses an option that is now removed?

  • The job will still work
  • The job will fail or behave differently; you must change the control statements to use the replacement option or logic documented in the release notes and migration guide
  • Only JCL must change
  • Nothing