Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Accessing More Than One Data Set - Concatenation z/OS TSO/E User's Guide SA32-0971-00 |
|||||||
You can provide more than one data set as input to a program by concatenating a group of data sets to a ddname. Concatenation means logically linking data sets in a series or chain. You concatenate data sets by issuing the ALLOCATE command as follows:
The search order of data sets within a concatenation is very important. When a program searches through concatenated data sets for a particular item to use as input, it ends its search when it finds the first instance of the item. If correct input is in a member of a partitioned data set and another partitioned data set, earlier in the concatenation, has the same member name, the correct input is not accessed.
You can change the search order of data sets by using the ALLOCATE command and listing the data sets in the order in which you want them searched. Controlling search order is useful when you are developing data and want to have several versions of the same data.
|
Copyright IBM Corporation 1990, 2014
|