MainframeMaster

Deprecated Features

A deprecated feature in DFSORT is one that still works in the current version but is planned for removal in a future release. Vendors deprecate features when they want to steer users toward a better or more maintainable alternative. If you keep using a deprecated option, a future upgrade may break your job when the option is removed. This page explains what deprecated means, where to find the list of deprecated DFSORT features, how to find and use the replacement, and why you should avoid deprecated options in new jobs and plan to migrate existing jobs before the removal.

Compatibility & Migration
Progress0 of 0 lessons

What "Deprecated" Means

When a feature is deprecated, the vendor is saying: "This still works today, but we plan to remove it in a future release. Please stop using it and use the replacement instead." So deprecated is a warning, not an immediate error. The feature continues to function until the release in which it is actually removed. Once removed, control statements that use it may be rejected (syntax error) or ignored, and the job may fail or produce unexpected results. So the right approach is to treat deprecation as a signal to migrate soon, not to ignore it.

Terms
TermMeaning
DeprecatedStill supported but planned for removal; use replacement
RemovedNo longer accepted; job will fail if used
ReplacementDocumented alternative that will remain supported

Where to Find Deprecated Features

The list of deprecated features is published in the product documentation for each DFSORT (and z/OS) level. Look for sections such as "Deprecated features," "What's new and changed," "Migration," or "Compatibility." Release notes for each version typically call out what is deprecated in that release and what the replacement is. The list can grow from version to version: an option deprecated in one release may be removed in the next. So you need to check the documentation that matches the level you are running (or the level you are upgrading to).

Finding the Replacement

When a feature is deprecated, the documentation usually states the replacement. It might be a new keyword that does the same thing, or a different way to achieve the same result (e.g. a different combination of statements). If the replacement is a new keyword, you update the control card to use it. If the replacement is a different approach (e.g. "use INREC with BUILD instead of OUTREC FIELDS=..."), you rewrite the step accordingly. If you cannot find a replacement in the manual, check migration guides or contact support. Do not assume there is no replacement—sometimes it is in a different section (e.g. under a new feature name).

New Jobs: Avoid Deprecated Options

When writing new DFSORT jobs, use only options that are currently supported and not deprecated. That way the job is future-proof: when the deprecated option is eventually removed, your job is unaffected. It also keeps the job aligned with the vendor's recommended practice. If you are copying an old job as a template, check that the template does not use deprecated options and update it if it does.

Existing Jobs: Plan Migration

For jobs that already use a deprecated option, plan to migrate them before the option is removed. The deprecation notice may state a target release for removal (e.g. "will be removed in the next major release"). Use that to prioritize: jobs using options that will be removed sooner should be updated first. Test each updated job with representative data and compare output to ensure the replacement produces the same results. Document the change so that future maintainers know why the control statements were updated.

No Direct Replacement

Occasionally a deprecated feature has no one-to-one replacement. The documentation might recommend achieving the same result with a different approach—for example, using a user exit (MODS) or a different set of control statements. In that case you need to redesign the step. If the documentation is unclear, use support or migration services to get a concrete recommendation. Do not assume you can keep using the deprecated option indefinitely.

Explain It Like I'm Five

"Deprecated" is like when the teacher says: "This old way still works for now, but we are going to stop using it next year. Use the new way from now on." If you keep using the old way, next year it will not work. So you learn the new way now and change your work so you are ready.

Exercises

  1. What is the difference between deprecated and removed?
  2. Where would you look to find the replacement for a deprecated DFSORT option?
  3. Why should you avoid deprecated options in new jobs?
  4. Your job uses an option that the release notes say is deprecated. What steps do you take?

Quiz

Test Your Knowledge

1. What does "deprecated" mean for a DFSORT option?

  • It is broken
  • The option still works but is planned for removal in a future release; you should stop using it and use the recommended replacement so your job continues to work
  • It is new
  • Only in Syncsort

2. Where do you find which DFSORT features are deprecated?

  • Only on the web
  • In the product release notes and documentation (e.g. "Deprecated features", "Migration", or "Compatibility" sections) for your DFSORT/z/OS level
  • Only in SYSOUT
  • Only in JCL

3. Why should you avoid using deprecated options in new jobs?

  • They are slower
  • They may be removed in a future release, so the job would then fail or need to be changed; using the supported replacement from the start avoids future migration work
  • They are not documented
  • Only for old jobs

4. What if there is no direct replacement for a deprecated option?

  • Keep using it forever
  • Check the release notes and documentation for guidance; you may need to achieve the same result with a different combination of statements or a different approach (e.g. user exit); contact support if unclear
  • Remove the option
  • Only use INCLUDE

5. Can a deprecated option be removed in a PTF or minor release?

  • No, only in major releases
  • Yes; removal can happen in a future release (major or service); the exact release is usually stated in the deprecation notice—plan to migrate before that
  • Only in z/OS
  • PTFs never remove features