Sample EXEC Statement - 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
Copyright
2024
First publish date
2010
Last updated
2024-11-06
Published on
2024-11-06T17:38:26.716054
Figure 1. MAXSORT EXEC Statement

DD Statements

MAXSORT’s DD statement requirements are summarized in the following table. As many as three additional types of DD statements may be needed. Note that SORTWK files must be allocated only to disk devices.

Table 1. MAXSORT DD Statements

//$ORTPARM 

DD

Used to override PARM or control statement information.

//SYSIN 

DD

Control statement data set. Used unless control statements are supplied via an invoking program parameter list.

//SYSOUT 

DD

Message data set. Required unless all messages are routed to console.

//SORTWKnn 

DD

Disk work area definition. Required unless DYNALLOC is specified or MAXSORT is restarted at a MERGE breakpoint.

//SORTIN 

DD

SORT input data set. Required unless there is an E15. Ignored if the invok­ing program supplies an inline E15 exit routine; optional if the MODS statement activates an E15 exit routine.

//SORTOUT 

DD

Output data set. Required unless there is an E35. Ignored if the invoking program supplies an inline E35 exit routine; optional if the MODS state­ment activates an E35 exit routine.

//SORTXDUP 

DD

Output data set for records deleted by DUPKEYS. Required if XDUP parameter used.

//SORTXSUM 

DD

Output data set for records deleted by SUM. Required if XSUM parameter used.

//SORTBKPT 

DD

Breakpoint data set. Must be DASD. Required.

//SORTOU00 

DD

Required if intermediate output is on tape.

//SORTOUnn 

DD

Required if intermediate output is on disk or if intermediate output is on tape and DYNATAPE is not specified.

//SORTCKPT 

DD

Checkpoint data set. Required if Checkpoint-Restart is used.

//SORTMODS 

//SYSLIN 

//SYSLMOD 

//SYSPRINT 

DD

DD

DD

DD

Required if user exits are in SYSIN and if user exits are to be link­age-edited at execution time.

//ddname  

DD

Required for exits unless the exit is inline in LINKLIB/JOBLIB/STEPLIB or in SYSIN.

When the RELEASE=ON parameter is active (either via specification or by default) at the conclusion of the sort portion of a MAXSORT, most of the allocated SORTWK space is free (however, in the case of invoked sorts or SORTWKs defined as OLD, the data set is returned to the size allocated at MAXSORT initiation rather than the minimum size possible).

The SORTBKPT, SORTOU00, SORTOUnn and SORTCKPT DD statements are discussed below. Refer to JCL and Sample JCL/Control Statement Streams for a discussion of the other DD statements, which are specified for MAXSORT just as they would be specified for Disk Sort.