RENAME-CONTROL—Rename the VSAM Data Sets

The RENAME-CONTROL keyword controls how the VSAM data sets are renamed.
cafrdb219
The RENAME-CONTROL keyword controls how the VSAM data sets are renamed.
Consider the following items:
  • The original VSAM data set for the tablespace or indexspace ends in
    .A001
    . Regardless of the RENAME-CONTROL value, the VSAM data set ends in
    .A001
    (with the same name as before the recovery) at the end of the recovery.
  • If you use VCAT-defined data sets and SPACE-DEFN NO, allocate the target data sets.
  • If you use STOGROUP-defined data sets and SPACE-DEFN NO,
    Fast Recover
    automatically changes to SPACE-DEFN YES. The target data sets are created using the existing STOGROUP definition.
  • When RENAME-CONTROL is specified in a RECOVER statement, it overrides the TS-RENAME-CNTL parmlib option.
  • When RENAME-CONTROL is specified in a REBUILD statement, it overrides the IX-RENME-CNTL parmlib option.
This keyword has the following format:
RENAME-CONTROL [
USER
|AUTO]
  • USER
    Specifies that the user is responsible for renaming the
    .B001
    data set after recovery is complete. The original source VSAM data set remains unchanged. This value is the default.
    The following table shows the temporary VSAM data set names during RENAME-CONTROL user recovery processing:
    Recovery Step
    Source VSAM Data Set
    Target VSAM Data Set
    Before/during recovery
    dbname
    .
    tsname
    .I0001.A001
    dbname
    .
    tsname
    .I0001.B001
    End of recovery
    dbname
    .
    tsname
    .I0001.A001
    dbname
    .
    tsname
    .I0001.B001
  • AUTO
    Specifies that the name of the target VSAM data set is assigned and deleted automatically.
    Fast Recover
    renames the original source VSAM data set at the end of recovery processing.
    The following table shows the temporary VSAM data set names during RENAME-CONTROL auto recovery processing:
    Recovery Step
    Source VSAM Data Set
    Target VSAM Data Set
    Before/during recovery
    dbname
    .
    tsname
    .I0001.A001
    dbname
    .
    tsname
    .I0001.B001
    End of recovery
    (deleted)
    dbname
    .
    tsname
    .I0001.A001
More information: