z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Program DD statements

z/OS DFSORT Application Programming Guide
SC23-6878-00

Even if you use the SORT or SORTD cataloged procedure to invoke DFSORT, you might need to supply additional dedicated DD statements. The following list summarizes each of these statements, and a more detailed explanation of each one follows.
//SORTLIB DD
Defines the data set that contains special load modules for DFSORT. Can usually be omitted.
//SYMNAMES DD
Defines the SYMNAMES data set containing statements to be used for symbol processing. Required only if symbol processing is to be performed.
//SYMNOUT DD
Defines the data set in which SYMNAMES statements and the symbol table are to be listed. Optional if SYMNAMES DD is specified. Otherwise ignored.
//SORTIN DD
Defines the input data set for a sorting or copying application. Will not be used for a merging application.
//SORTINnn DD
Defines the input data sets for a merging application. Will not be used for a sorting or copying application.
//SORTWKdd DD
Defines intermediate storage data sets. Usually needed for a sorting application unless dynamic allocation is requested. Will not be used for a copying or merging application.
//SORTOUT DD
Defines the SORTOUT output data set for a sorting, merging, or copying application.
//outfil DD
Defines an OUTFIL output data set for a sorting, merging, or copying application.
//SORTCKPT DD
Defines the data set used to store the information that the system needs to restart the sort from the last checkpoint. This is only needed if you are using the checkpoint facility.
//SORTCNTL DD
Defines the data set from which additional or changed DFSORT control statements can be read when DFSORT is program-invoked.
//DFSPARM DD
Defines the data set from which both additional or changed DFSORT program control statements and EXEC statement PARM options can be read when DFSORT is directly invoked or program invoked.
//SORTDKdd DD
Defines the data set used for a VIO SORTWKdd allocation by DFSORT if it is dynamically reallocated; SORTDKdd must never be specified in the job stream.
//SORTDIAG DD
Specifies that all messages and control statements are printed. Used primarily for diagnostics and debugging.
//SORTSNAP DD
Defines the snap dump data set dynamically allocated by DFSORT. SORTSNAP must never be specified in the job stream.
//SORTMODS DD
Defines a temporary partitioned data set. This temporary data set must be large enough to contain all your user exit routines that appear in SYSIN for a given application. If none of your routines appear in SYSIN, this statement is not required. If your routines are in libraries, you must include DD statements defining the libraries.

DFSORT temporarily transfers the user exit routines in SYSIN to the data set defined by this DD statement. Then DFSORT calls the binder or linkage editor for processing.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014