Difference between revisions of "SET DEVICE"

From VSI OpenVMS Wiki
Jump to: navigation, search
(Created page with "'''SET DEVICE''' is a DCL command that establishes a print device or terminal as a spooled device or establishes the oper...")
 
m (update about set device/served)
 
Line 1: Line 1:
'''SET DEVICE''' is a [[DCL]] [[Command|command]] that establishes a [[Printer|print device]] or [[Terminal|terminal]] as a [[Spooling|spooled]] device or establishes the operational status for a device. To make a disk on a local node available to all the nodes on an OpenVMS [[Cluster]], use the /SERVED qualifier. Requires [[OPER]] (operator) privilege. [[PHY_IO]] (physical I/O) privilege is required when specifying the Alpha-only qualifiers that change the characteristics of shadow sets. These qualifiers also can be specified using the [[SET SHADOW]] command, which provides additional options for controlling [[Shadow Set|shadow sets]]. Qualifier settings for shadow sets remain in effect until they are changed using either [[SET DEVICE]] or [[SET SHADOW]] or until the shadow set or shadow set member is dismounted. If the shadow set is remounted or a shadow set member is returned to the shadow set from which it was dismounted, the settings must be specified again.  
+
'''SET DEVICE''' is a [[DCL]] [[Command|command]] that establishes a [[Printer|print device]] or [[Terminal|terminal]] as a [[Spooling|spooled]] device or establishes the operational status for a device.
 +
 
 +
To make a disk on a local node available to all the nodes on an OpenVMS [[Cluster]], use [[SET DEVICE/SERVED]].
 +
 
 +
'''Requires [[OPER]] privilege.'''
 +
 
 +
[[PHY_IO]] (physical I/O) privilege is required when specifying the Alpha-only qualifiers that change the characteristics of shadow sets. These qualifiers also can be specified using the [[SET SHADOW]] command, which provides additional options for controlling [[Shadow Set|shadow sets]]. Qualifier settings for shadow sets remain in effect until they are changed using either [[SET DEVICE]] or [[SET SHADOW]] or until the shadow set or shadow set member is dismounted. If the shadow set is remounted or a shadow set member is returned to the shadow set from which it was dismounted, the settings must be specified again.  
 
=Syntax=
 
=Syntax=
 
  SET DEVICE  [device-name[:]]
 
  SET DEVICE  [device-name[:]]
Line 19: Line 25:
 
* /PREFERRED_CPUS
 
* /PREFERRED_CPUS
 
* /READ_COST
 
* /READ_COST
* /RESET/SITE
+
* /RESET
 +
* /SITE
 
* /SPOOLED
 
* /SPOOLED
 
* /SWITCH
 
* /SWITCH
* /SERVED
 
 
[[Category:DCL Commands]]
 
[[Category:DCL Commands]]

Latest revision as of 05:28, 25 November 2021

SET DEVICE is a DCL command that establishes a print device or terminal as a spooled device or establishes the operational status for a device.

To make a disk on a local node available to all the nodes on an OpenVMS Cluster, use SET DEVICE/SERVED.

Requires OPER privilege.

PHY_IO (physical I/O) privilege is required when specifying the Alpha-only qualifiers that change the characteristics of shadow sets. These qualifiers also can be specified using the SET SHADOW command, which provides additional options for controlling shadow sets. Qualifier settings for shadow sets remain in effect until they are changed using either SET DEVICE or SET SHADOW or until the shadow set or shadow set member is dismounted. If the shadow set is remounted or a shadow set member is returned to the shadow set from which it was dismounted, the settings must be specified again.

Syntax

SET DEVICE  [device-name[:]]

Qualifiers

  • /ABORT_VIRTUAL_UNIT
  • /AVAILABLE
  • /COPY_SOURCE
  • /DUAL_PORT
  • /ENABLE
  • /ERROR_LOGGING
  • /FORCE_REMOVAL
  • /LOG
  • /MEMBER_TIMEOUT
  • /MV_INTVL
  • /MV_NUM
  • /MVTIMEOUT
  • /PATH
  • /POLL
  • /PREFERRED_CPUS
  • /READ_COST
  • /RESET
  • /SITE
  • /SPOOLED
  • /SWITCH