SPACE=({CYL | TRK | KIL | MEG},({primary},{secondary},{directory}),{RLSE})
| Default | None |
| Allowable Values | See the following explanation of this parameter. |
| Minimum | Not Applicable |
| Maximum | Not Applicable |
This parameter defines the values used when creating a new file on a z/OS system. The values can also be specified in the ALLOC_TYPE, ALLOC_PRI, ALLOC_SEC, and ALLOC_DIR parameters. If both parameters are specified, the last parameter specified takes precedence.
The
SPACE parameter format is similar to (although not as flexible as) the z/OS JCL
SPACE parameter. The values specified as
PRI,
SEC, and
DIR are the primary, secondary and directory block allocation. If
RLSE is specified, space will be released after the transfer is completed. If
RLSE is not specified, space will not be released after the transfer is completed.
If the
SPACE parameter is not defined, the allocation parameters associated with the input file is used for the output file.
CYL indicates that allocation is done in Cylinders.
TRK indicates that allocation is done in tracks.
KIL indicates that allocation is done in Kilobytes (thousand bytes), while
MEG indicates that allocation is done in Megabytes (million bytes).