File Allocation Examples for z/OS Systems.
There is no intention to discuss the TSO ALLOCATE command in detail, as it has all the capabilities of the JCL DD statement.
but some of the more common examples are included here.
- Allocate an existing file or data set
This does not infer input, merely that the data set exists.
- Allocate a new file or data set, with explicit attribute definition
This method is consistent with both non-SMS data sets, and the overriding of DATACLAS operands..
- Allocate a new file or data set based on an existing model
This method assumes that there is a catalogued data set with the required attributes.
- Allocate multiple new files or data sets with common attributes.
This method uses the TSO ATTRIB command in conjunction with ALLOCATE.


