Are SORTWKxx DD Statements Necessary? - mfx - 3.1

Syncsort™ MFX Programmers Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ Software
Product
Syncsort™ MFX > MFX
Version
3.1
Language
English
Content type
Programmer’s Guide
Product name
Syncsort™ MFX
Title
Syncsort™ MFX Programmers Guide
Topic type
How Do I
Copyright
2024
First publish date
2010
Last edition
2024-08-27
Last publish date
2024-08-27T08:14:56.318001

SORTWKxx DD statements are not used for merge or copy applications. They are not required for sorts executed using the DYNALLOC option. Provided neither DYNALLOC nor FIELDS=COPY is in effect, it will be necessary to include SORTWK data sets whenever any of these conditions holds:

  • INCORE is set to OFF.

  • An E14 or E16 is included.

  • Checkpoint-Restart is specified.

  • The criteria for an incore sort are not met. (See the discussion of incore sorts in Performance Considerations.)

  • SUM, DUPKEYS, OUTREC or OUTFIL is used.

  • SORTOUT is a VSAM data set.

Note: Sort applications that use SUM, DUPKEYS, OUTREC, OUTFIL or VSAM SORTOUT and do not provide JCL SORTWORKs may have DYNALLOC automatically enabled. This will allow the completion of a sort that would have terminated for lack of required SORTWORK space.