DFSORT DD statements and parameters

DFSORT Processing DFSORT Datasets and Rules

Advertisements


Normally JCL includes JOB, EXEC and several DD statements. Various JCL DD statements and their functions are listed below.


DDnameDescription
//JOBLIB DDDefines program link library if it is not system library. Refer JCL Joblib
//STEPLIB DDSame as //JOBLIB DD but specific to the particular step where it is provided. Refer JCL Steplib
//SORTLIB DD Defines the data set that contains special load modules if it is not system library
//SYSOUT DD Defines the message data set
//SYMNAMES DD Defines the SYMNAMES data set containing statements to be used for symbol processing
//SYMNOUT DD Defines the data set in which SYMNAMES statements and the symbol table are to be listed
//SORTIN DD Defines the input data set for a sort or copy
//SORTINnn DD Defines the input data sets for a merge
//SORTOUT DD Defines the SORTOUT output data set for a sort, merge, or copy
//outfil DD Defines an OUTFIL output data set for a sort, merge, or copy
//SORTWKdd DD Defines intermediate storage data sets for a sort processing
//DFSPARM DD Contains DFSORT PARM options and program control statements
//SYSIN DD Contains DFSORT control statements which are required for sort. Refer JCL SYSIN
//SORTCNTL DD Same as //SYSIN DD
//SORTDIAG DD Specifies the messages and program control statements that are to be printed
//SORTCKPT DD Defines the data set for checkpoint records
//SYSUDUMP DD Defines the data set for output from a system ABEND dump routine. Refer JCL SYSUDUMP
//SYSMDUMP DD Same as //SYSUDUMP DD Refer JCL SYSMDUMP
//SYSABEND DD Same as //SYSUDUMP DD Refer JCL SYSABEND
//SORTSNAP DD Defines the snap dump data set dynamically allocated by DFSORT
//ddname Defines the data set containing exit routines.

DD statement parameters:


The below are the DD statement parameters used by DFSORT.

{AMP | BUFSP}

AMP parameter used when password-protected VSAM data sets are used

BUFSP parameter used when Minimum buffer pool value required while creating the data set.

No default values for these parameters.

DCB

Refer JCL DCB Parameter

DISP

Refer JCL DISP Parameter

DSNAME or DSN

Specifies the dataset names

The dataset name is fully qualified or temporary dataset name.

The default value is system assigns unique name if not present.

SPACE

Specifies the amount of dataset needed.

The same can be needed while creating the data set or processing dataset

UNIT

Specifies the number of I/O units required for processing dataset.

VOLUME/VOL

Specifies the information used to identify the volume.


Note: If duplicate DD names are provided in the DFSORT jcl, DFSORT ignores the second one among the duplicates and performs the operation on the first one alone.

For example, in JCL SORTIN01 and SORTIN1 provided and SORTIN01 processed by DFSORT and SORTIN1 will be ignored



DFSORT Processing DFSORT Datasets and Rules

Advertisements