Recovering an ACDS

About this task

There are situations where the ACDS may need to be recovered. You can recover from errors that prevent access to the ACDS if you have allocated a spare. All permanent errors that make the ACDS unreadable or unwritable require intervention.

If messages IGD041I and IGD040D with reason code 6069, indicating a DIV I/O error, appear on the operator console, you have the option of retrying the failing operation or using the spare ACDS.

When using the spare ACDS after messages IGD041I AND IGD040D with reason code 6069 are received, perform the following steps.

Procedure

  1. Reply C on the operator console.
  2. Define a new linear VSAM data set with SHROPTNS(3,3), REUSE and ensure the new ACDS can be accessed by all systems in the SMS complex (that is, the volume is accessible from all systems).
  3. Copy the data from the SMS address space to the spare ACDS by issuing the following command from a system in the SMS complex:
    SETSMS SAVEACDS(spareacdsdsn)
    Do not use the SETSMS SAVEACDS command if the ACDS is corrupted.
  4. Tell the system to use the spare ACDS by issuing the following command:
    SETSMS ACDS(spareacdsdsn)

    You need to issue the SETSMS ACDS(spareacdsdsn) command on only one system. The COMMDS is updated to reflect this change. As the other systems in the SMS complex access the COMMDS (based on the INTERVAL value in their respective IGDSMSxx members), they automatically switch to the new ACDS.

    Note: In addition to the method previously described, you can also use the SETSMS COPYSCDS command to create an ACDS from any valid SCDS. This command may be especially useful in cases where the created ACDS is to be used on another system, such as in disaster recovery situations. Refer to z/OS MVS System Commandsfor more information on the SETSMS COPYSCDS command.

Recovering an ACDS when messages IGD041I and IGD040D with reason code 6069 are not received

If the ACDS is corrupted or gets any permanent errors, but messages IGD041I and IGD040D with reason code 6069 are not received, you should recover the ACDS from a good backup copy of the SCDS.

Procedure

  1. Define a new linear VSAM data set with SHROPTNS(3,3), REUSE and ensure the new ACDS can be accessed by all systems in the SMS complex (that is, the volume is accessible from all systems).
  2. Issue the SETSMS ACDS command to switch the sysplex over to the new ACDS.
    SETSMS ACDS(newacdsdsn),SCDS(scdsdsn)
  3. Ensure PARMLIB member IGDSMSxx is updated to reflect the new ACDS so that it will be used upon the IPL of any system in the sysplex.