Previous Topic: How You Change the Status of Managed Devices (VARY)

Next Topic: How You Make a Device Unavailable for Allocation

Vary Devices Offline and Online

The CA MIA VARY command allows you to set devices online and offline to one or more systems in your complex.

Examples: Vary Device Offline and Online

  1. To vary device 01A0 offline to all systems, issue the following command:
    VARY 01A0 OFFLINE GLOBAL
    
  2. To vary this device offline to all systems except the local system, issue the following command:
    VARY 01A0 OFFLINE EXTERNAL
    
  3. To vary devices 01A0 and 01A1 online on the local system, issue the following command:
    VARY (01A0,01A1) ONLINE LOCAL
    
  4. To vary a range of devices (including devices 01A0, 01A1, 01A2, 01A3, and 01A4) online on a specific system, issue the following command:
    VARY (01A0-01A4) ONLINE systemid
    

The GLOBAL, EXTERNAL, LOCAL and systemid values determine the scope of the VARY command. If you specify the ONLINE or OFFLINE parameters without specifying a scope value, GTAF uses the default value set for the VARYSCOPE parameter on the SETOPTION command.

The systemid variable represents the system name or alias you have assigned to the system through the DEFSYS statement or the one- or two-digit index number of the system.

Note: The devices specified on a VARY RANGE command are presented to the operating system for processing as individual VARY Device requests in ASCENDING device address order, regardless of the order in which device address ranges are specified on the VARY RANGE command.

If you want a specific sequence of VARY command processing, code individual VARY or VARY RANGE commands to achieve the desired VARY completion sequence.