Library /sys$common/syshlp/helplib.hlb  —  SET  DEVICE  Examples
    1.$ SET DEVICE/SPOOLED=(LPA0)  LPA0:

      In this example, the /SPOOLED qualifier requests that the
      printer queue LPA0 be spooled to an intermediate disk before
      files directed to the disk are printed. Because no intermediate
      disk was specified, the intermediate disk defaults to SYS$DISK.

    2.$ SET DEVICE/ERROR_LOGGING  DKB2:

      The SET DEVICE command in this example requests that all device
      errors reported on device DKB2 be logged in the error log file.

    3.$ SET DEVICE/NOAVAILABLE DRA0:

      The SET DEVICE command in this example prevents any attempt to
      mount a disk on device DRA0.

    4.$ SET DEVICE/DUAL_PORT DRA0:

      The SET DEVICE command in this example enables the dual port
      seize logic in device DRA0.

    5.$ SET DEVICE/PREFERRED_CPU=1 PNA0

      The Fast Path port PNA0 is assigned to CPU 1, and the User
      Preferred CPU is set to 1.

    6.$ SET DEVICE/NOPREFERRED_CPU  PNA0

      The port PNA0 will have the User Preferred CPU cleared,
      but will remain a Fast Path port, with CPU 1 as its current
      preferred CPU.

    7.$ SET DEVICE/PREFERRED_CPU=(0,1,2)  PNA0

      The operating system selects CPU 0,1, or 2 as the preferred CPU
      for Fast Path port PNA0, and sets its User Preferred CPU to the
      selected CPU.

    8.$ SET DEVICE $1$DGA1001:/PATH=PGB0.0123-4567-89AB-CDEF/ENABLE

      In this example, a request is made to enable path
      PGB0.0123-4567-89AB-CDEF as a switch path destination. No error
      is indicated if the path was in the enabled state prior to the
      request. Had the /NOENABLE option been used, the path would
      have been removed from switch path consideration.

    9.$ SET DEVICE $1$DGA1001:/PATH=PGB0.0123-4567-89AB-CDEF/POLL

      In this example, a request is made to enable path
      PGB0.0123-4567-89AB-CDEF for polling of its continued
      availability as a path switch destination. Had the /NOPOLL
      option been used, the path would have been removed from path
      availability polling consideration.

    10$ SET DEVICE $1$DGA1001:/PATH=PGB0.0123-4567-89AB-CDEF/SWITCH

      In this example, a request is made to switch from the current
      path to path PGB0.0123-4567-89AB-CDEF. Should the path fail,
      the switch algorithm of the unspecified path is used.

    11$ ! Command sequence used on system 1 at site 1:
      $ MOUNT/SYSTEM DSA0:/SHADOW=($1$DGA0:,$1$DGA1:) TEST
      $ SET DEVICE/SITE=1  DSA0:
      $ !
      $ ! Command sequence used on system 2 at site 2:
      $ MOUNT/SYSTEM DSA0:/SHADOW=($1$DGA0:,$1$DGA1:) TEST
      $ SET DEVICE/SITE=2  DSA0:
      $ !
      $ ! Commands used on both system 1 and system 2:
      $ SET DEVICE/SITE=1  $1$DGA0:
      $ SET DEVICE/SITE=2  $1$DGA1:

      In this example, the system at site 1 will perform all reads
      from $1$DGA0, which is the physically local disk, while the
      system at site 2 will perform all reads from its physically
      local disk, $1$DGA1.
Close Help