Your operating system uses the job control language (JCL) you supply
with your DFSORT program control statements to:
- Identify you as an authorized user
- Allocate the necessary resources to run your job
- Run your job
- Return information to you about the results
- Terminate your job.
You must supply JCL statements with every DFSORT job
you submit.
Required JCL includes a JOB statement, an EXEC statement, and several
DD statements. The statements you need and their exact form depend
upon whether you:
- Use an EXEC statement in the input job stream or a system macro
instruction within another program to invoke DFSORT
- Use EXEC statement cataloged procedures to invoke DFSORT
- Specify various DFSORT control statements or PARM options
- Want to use program exits to activate routines of your own
- Use dynamic binding or link-editing
- Want to see diagnostic messages.
The JCL statements and their functions are listed
in
the following. Details on coding the individual statements are
presented in subsequent sections.
- JCL Statement
- Description
- //JOBLIB DD
- Defines your program link library if it is not already known to
the system
- //STEPLIB DD
- Same as //JOBLIB DD
- //SORTLIB DD
- Defines the data set that contains special load modules if it
is not already known to the system
- //SYSOUT DD1
- 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 DD1
- Defines the input data set for a sort or copy
- //SORTINnn DD1
- Defines the input data sets for a merge
- //SORTOUT DD1
- 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 DD1
- Defines intermediate storage data sets for a sort
- //DFSPARM DD1
- Contains DFSORT PARM options and program control statements
- //SYSIN DD
- Contains DFSORT program control statements
- //SORTCNTL DD1
- Same as //SYSIN DD
- //SORTDIAG DD
- Specifies that all messages and program control statements 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
- //SYSMDUMP DD
- Same as //SYSUDUMP DD
- //SYSABEND DD
- Same as //SYSUDUMP DD
- //SORTSNAP DD
- Defines the snap dump data set dynamically allocated by DFSORT
- //ddname
- Defines the data set containing exit routines (as specified in
the MODS program control statement).
The following DD statements are necessary only for dynamic
binding or link-editing of exit routines
- //SYSPRINT DD
- Defines the message data set for the linkage editor
- //SYSUT1 DD
- Defines the intermediate storage data set for the linkage editor
- //SYSLIN DD
- Defines the data set for control information for the linkage editor
- //SYSLMOD DD
- Defines the data set for output from the linkage editor
- //SORTMODS DD
- Defines the temporary partitioned data set for user exit routines
from SYSIN.
- 1
- These are the default ddnames with which DFSORT was delivered.
SYSOUT and DFSPARM may have been changed during DFSORT installation.
You can change all of the indicated ddnames at run time. For override
information, see Specification/override of DFSORT options.