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


Example 11 DFSPARM DD statement

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

//DFSPARM  DD  *
  SORT FIELDS=(1,2,CH,A),STOPAFT=300
ABEND
  OPTION SORTIN=DATAIN
  STOPAFT=500
In this example, the DFSPARM DD data set passes a DFSORT SORT statement, the ABEND and STOPAFT parameters equivalent to specifying PARM=ABEND,STOPAFT=500 in a JCL EXEC statement, and a DFSORT OPTION statement.
Note:
  1. SORT and OPTION are control statements. ABEND and STOPAFT=500 are PARM options.
  2. The PARM option STOPAFT=500 overrides the SORT control statement option STOPAFT=300.
  3. When PARMDDN=DFSPARM is specified or defaulted
    • if a //DFSPARM DD data set is available at run-time, DFSORT will use it
    • if a //DFSPARM DD data set is not available at run-time, DFSORT will use a //$ORTPARM DD data set if available.

    Thus with PARMDDN=DFSPARM, you can choose to specify either a //DFSPARM DD data set or a //$ORTPARM DD data set for a particular DFSORT application.

  4. When PARMDDN=ddname is specified
    • if a //ddname DD data set is available at run-time, DFSORT will use it
    • if a //ddname DD data set is not available at run-time, DFSORT will use a //DFSPARM DD data set if available.

    Thus with PARMDDN=ddname, you can choose to specify either a //ddname DD data set or a //DFSPARM DD data set for a particular DFSORT application.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014