Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
General coding notes z/OS DFSORT Application Programming Guide SC23-6878-00 |
|
Coding of parameters in the DFSPARM DD statement follows the same
rules used for the JCL EXEC statement PARM options and the program
control statements specified in SYSIN or SORTCNTL. The following exceptions
apply:
FREE=CLOSE can be used for applicable DFSPARM data sets (for example, with temporary and permanent sequential data sets, but not with DD * data sets). When DFSORT is called from another program, FREE=CLOSE causes the DFSPARM data set to be released when DFSORT returns to the caller. This allows another DFSPARM data set to be used for a subsequent call. For example, if a COBOL program contains three SORT verbs, the following would cause the control statements in DP1 to be used for the first SORT verb, the control statements in DP2 to be used for the second SORT verb, and the: control statements in DP3 to be used for the third SORT verb //DFSPARM DD DSN=DP1,DISP=SHR,FREE=CLOSE Without FREE=CLOSE, DP1 would be used for all three SORT verbs. |
Copyright IBM Corporation 1990, 2014
|