Previous topic |
Next topic |
Contact z/OS |
Examples of DD statements and ddnames
z/OS MVS JCL Reference
In this example, because the ddname is missing from the second DD statement, the system concatenates the data sets defined in these statements.
In this example, if procedure step PAYROLL contains a DD statement named DAY, this statement overrides parameters on DD statement DAY. If the step does not contain DD statement DAY, the system adds this statement to procedure step PAYROLL for the duration of the job step.
In this example, the second data set is concatenated to the first, and both are added to procedure step STEPSIX. The ddname is omitted from the second DD statement in order to concatenate data set ART to data set TEXT.
Because the system does not allow you to write to a concatenation of data, you need another data set with DISP=OLD in order to read from TEXT. Write to the new DD name before reading from DD4.
Copyright IBM Corporation 1990, 2014