Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
References to concatenated data sets z/OS MVS JCL Reference SA23-1385-00 |
|
If you make a backward reference to a concatenation (using *.), the system obtains information only from the first data set defined in the sequence of DD statements. If you make a forward reference to a concatenation
(using the DDNAME parameter), the forward reference resolves to the
first data set in the concatenation. If there are no DD statements
between the forward reference and the concatenation, the rest of the
data sets in the concatenation are appended to the first data set
in the concatenation. The following example illustrates this.
In this example, SYSUT1 will resolve to the first data set, TSTDATA1, defined by the DDNAME forward reference INPUT. TSTDATA2, the second data set in the DDNAME forward reference INPUT, will be appended to SYSUT1 as well. IEBGENER will recognize TSTDATA1 and TSTDATA2 as input. If there are any DD statements between the forward reference and
the concatenation, the rest of the data sets in the concatenation
are appended to the last DD statement preceding the concatenation.
For example:
In the preceding example, SYSUT1 will resolve to the first data set, TSTDATA1, defined in the DDNAME forward reference INPUT. TSTDATA2 will be appended to SYSUT2, the last DD statement preceding the concatenation. In this example, IEBGENER will recognize only TSTDATA1 as input. If a concatenated DD is added to a procedure, the remaining concatenated
data sets will be concatenated to the last DD in the step named in
an override or addition (or to the first step if no step was named
in an override or addition). Note that this may result in these concatenated
DDs being added to an unexpected DD. The following example illustrates
this.
In this example, the result of the DDNAME forward reference INPUT
is:
|
Copyright IBM Corporation 1990, 2014
|