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


SORTCNTL DD statement

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

The SORTCNTL data set can be used to supply DFSORT control statements, comment statements, blank statements, and remarks when DFSORT is invoked from another program (written, for example, in COBOL or PL/I).
  • The SORTCNTL data set usually resides in the input stream, but can be defined as a sequential data set or as a member of a partitioned data set.
  • The data set must be defined with RECFM of F or FB. The LRECL can be 80, or more (when valid). If the LRECL is greater than 80, DFSORT will use the first 80 bytes of each record.
  • DFSORT supports concatenated SORTCNTL data sets to the extent that the system supports "like" concatenated data sets for BSAM. Refer to z/OS DFSMS Using Data Sets for further information about "like" concatenated data sets.
  • When DFSORT is invoked from a PL/I program, the SORTCNTL or DFSPARM data set must not be used to supply a new RECORD control statement.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014