Concatenating data sets
When data sets are concatenated, the application program can treat them as if they were one logical data set. In general, most of the logical attributes of the first DD statement apply to all of them. You can concatenate input data sets for the duration of a job step. Each of the concatenated data sets can reside on a different volume. For more information about concatenating data sets, see z/OS DFSMS Using Data Sets.
To concatenate data sets, omit the ddnames from all the DD statements except the first in the sequence. The data sets are processed in the same sequence as the DD statements defining them.
Concatenated data sets can reside on different devices and different types of devices, which might require internal DCB modifications. For more information, see z/OS DFSMS Using Data Sets.
Types of concatenation
There are two types of concatenation, partitioned concatenation and sequential concatenation.
- Partitioned data set (PDS).
- Partitioned data set extended (PDSE).
- z/OS® UNIX directory. Code the PATH keyword.
- For like concatenation, the same logical record length (LRECL) value and record format apply to all the data sets. The block size (BLKSIZE) values and device characteristics might differ.
- For unlike concatenation, any of data sets characteristics might differ. The application program must have logic to support this capability.