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


Example 1 SORTLIB DD Statement

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

//SORTLIB DD DSNAME=USORTLIB,DISP=SHR
This example shows DD statement parameters that define a previously cataloged input data set:
DSNAME
causes the system to search the catalog for a data set with the name USORTLIB. When the data set is found, it is associated with the ddname SORTLIB. The control program obtains the unit assignment and volume serial number from the catalog and, if the volume is not already mounted, writes a mounting message to the operator.
DISP
indicates that the data set existed before this job step, that it should be kept after this job step, and that it can be used concurrently by several jobs (SHR). None of the jobs should change the data set in any way.

For information on the parameters used in the SORTLIB DD statement, the conditions under which they are required, and the default values assumed if a parameter is not included, see Table 1. The subparameters of the DCB parameter are described in the same detail in Table 2. For more detailed information, see z/OS MVS JCL Reference and z/OS MVS JCL User's Guide

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014