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 enables you to change the status of devices that are being managed by the CA MIA on one or more systems in your MIAPlex.

Examples:

  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 value set for the VARYSCOPE parameter on the SETOPTION command. The default for VARYSCOPE is LOCAL.

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 number order, regardless of the order in which device number ranges are specified on the VARY RANGE command.

PURGE Pending VARY Requests

The PURGE parameter of the CA MIA VARY command forces pending VARY requests for a device or range of devices to be discarded. Use the DIAGNOSE VARY command to identify pending VARY requests. The PURGE parameter is useful for eliminating redundant VARY requests that can cause allocation delays.

Note: The PURGE parameter only supports a scope of LOCAL.

Examples:

  1. To purge pending VARY requests for a single device on the local system, issue the following command:
    VARY 01A0,PURGE
    
  2. To purge pending VARY requests for devices 01A0 and 01A1 on the local system, issue the following command:
    VARY (01A0,01A1),PURGE
    
  3. To purge pending VARY requests for a range of devices(including devices 01A0, 01A1, 01A2, 01A3, and 01A4) on the local system, issue the following command:
    VARY (01A0-01A4),PURGE