SPACE-DEFN—Redefine Data Sets

The SPACE-DEFN keyword redefines VCAT-defined and STOGROUP-defined data sets as part of the recovery.
cafrdb2
The SPACE-DEFN keyword redefines VCAT-defined and STOGROUP-defined data sets as part of the recovery. You can use SPACE-DEFN to allocate VSAM data sets automatically.
Space allocations are always made in pages.
This keyword has the following format:
SPACE-DEFN [
YES
|NO]
  • YES
    Reallocates the data sets using the catalog definitions or, if VSAM-defined, the current VSAM definitions. This value is the default.
    Specifying SPACE-DEFN YES can significantly improve the recovery performance.
  • NO
    Does not change the existing VSAM data sets.
    For STOGROUP-defined objects, SPACE-DEFN NO defines the underlying VSAM data sets when they do not exist.
    For VCAT-defined objects, SPACE-DEFN NO works only when the VSAM data sets are allocated.
    Problems can occur when SPACE-DEFN NO is used on non-partitioned objects because the VSAM data sets are not maintained. For example, if an object containing an A002 data set is recovered to a point in time where the data requires only one data set, the A002 data set is not deleted.