Recovering devices that will not vary on

If you have a problem with your devices, such as not being able to vary on a device, it might be because the system resource management (SRM) database that was restored does not match the device descriptions on the system.

To correct the problem for a tape unit or a tape controller, perform these tasks:

  1. Type WRKHDWRSC TYPE(*STG). You are shown the Work with Storage Resources display.
  2. Type a 9 (Work with resource) in the Opt column next to the resource name that would not vary on. The Work with Storage Controller Resources display is shown.
  3. Write down the valid resource name for the device type and model that you tried to vary on.
  4. Press F12 (Cancel) until you return to a display with a command line. If a problem exists with the tape unit, skip to step 7.
  5. Type WRKCTLD CTLD(controller-name). You are shown the Work with Controller Descriptions display.
  6. Type 2 (Change) in the Opt column next to the controller that would not vary on and press the Enter key. The Change Controller Description display is shown. Skip to step 9.
  7. Type WRKDEVD DEVD(media-device-name). The Work with Device Descriptions display is shown.
  8. Type 2 (Change) in the Opt column next to the device description that you want to change and press the Enter key. The Change Device Description display is shown.
  9. Change the name in the Resource name prompt to the correct name for the resource and press the Enter key. You return to the Work with Device Descriptions display or the Work with Controller Descriptions display.
  10. Type 8 (Work with status) in the Opt column next to the device or controller that you changed and press the Enter key. The Work with Configuration Status display is shown.
  11. Type 1 (Vary on) in the Opt column next to the device description name or the controller description name. Press the Enter key to vary it on.

Local workstation controller: To correct the problem for a workstation, follow these steps:

  1. Type the following command and press the Enter key to display the Work with Local Workstation Resources display.
    
    WRKHDWRSC TYPE(*LWS)
  2. Find the correct controller description for the device that would not vary on.
  3. Type a 5 (Work with configuration description) in the Opt column next to the controller description name and press the Enter key.
    The Work with Configuration Description display is shown.
  4. Type a 5 (Display) in the Opt column to display the valid resource name for the workstation controller.
  5. Press F12 (Cancel) until you return to a display with a command line.
  6. Type the following command and press the Enter key to display the device description for the device that would not vary on.
    
    WRKCTLD CTLD(controller-name)

    The Work with Controller Descriptions display is shown.

  7. Type a 2 (Change) in the Opt column next to the controller description that you want to change and press the Enter key.
    The Change Controller Description display is shown.
  8. Change the name in the Resource name prompt to the correct name for the resource and press the Enter key.
    You will return to the Work with Controller Descriptions display.
  9. Type an 8 (Work with status) in the Opt column next to the controller description that you changed and press the Enter key.
    The Work with Configuration Status display is shown.
  10. Type a 1 (Vary on) in the Opt column next to the controller description name and press the Enter key to vary on the device.
    Note: It is possible that another device description is varied on for this resource. Vary off the device first and then vary on the changed device description. This situation can happen to the console device.