HP OpenVMS System Services Reference Manual
The device drivers for the following adapters do not maintain the link 
status: DEMNA, any TURBOchannel adapter, any PCMCIA adapter, any Token 
Ring adapter, Galaxy shared memory, TGEC, DE205, DE422, DE425, DE434, 
DE435, DE500-XA. (The -AA and -BA variants are supported.)
DVI$_LAN_LINK_UP
On Alpha and I64 systems, returns an unsigned longword, which is 
interpreted as Boolean. A value of 1 indicates that the link is up. 
This item code is valid only for the template device (that is, unit 
number 0); this item returns 0 if used against a nontemplate LAN device.
This item is supported only on newer adapters. To determine whether or 
not a particular LAN device supports DVI$_LAN_LINK_UP, you must first 
call $GETDVI using the item code DVI$_LAN_LINK_STATE_VALID. For more 
information, see that item code.
If DVI$_LAN_LINK_UP is used on an adapter that does not maintain the 
link status, the returned status from $GETDVI will be SS$_UNSUPPORTED. 
For more information, see DVI$_LAN_LINK_VALID.
DVI$_LAN_MAC_ADDRESS
On Alpha and I64 systems, returns the current MAC address of the device 
as a string. Note that certain protocols, such as DECnet Phase IV, 
change the default MAC address to one based on the DECnet address. For 
DECnet Phase IV, the MAC address is in the form AA-00-04-00-nn-mm, 
where nn-mm is calculated by multiplying the the DECnet Phase IV area 
number by 1024, adding the node number (that is, the number following 
the dot), taking the hexadecimal representation of that sum, and 
swapping the two bytes.
For example, a node with a DECnet Phase IV address of 3.31 gives a 
decimal representation of 3103 (the value corresponding to the system 
parameter SCSSYSTEMID) and a hexadecimal representation of 0C1F. If 
DECnet Phase IV is started on this system, the MAC address of any LAN 
adapter on this system running DECnet is AA-00-04-00-1F-0C. < 
PARAMITEM>(DVI$_LAN_PROMISCUOUS_MODE) On Alpha and I64 systems, 
returns an unsigned longword, which is interpreted as Boolean. A value 
of 1 indicates that the device is enabled to receive all packets, not 
just packets addressed to the MAC address and enabled multicast 
addresses.
DVI$_LAN_PROTOCOL_NAME
On Alpha and I64 systems, returns the name of the LAN protocol running 
on the device as a string.
DVI$_LAN_PROTOCOL_TYPE
On Alpha and I64 systems, returns the LAN protocol type running on the 
device as a string.
DVI$_LAN_SPEED
On Alpha and I64 systems, returns the speed of the LAN device (in Mb/s) 
as an unsigned longword. Valid values are 4, 10, 16, 100, 1000, and 
10000.
DVI$_LOCKID
Returns the lock ID of the lock on a disk as an unsigned longword. The 
lock manager locks a disk if it is available to all nodes in an OpenVMS 
Cluster system and it is either allocated or mounted. A disk is 
available to all nodes in an OpenVMS Cluster system if, for example, it 
is served by an HSC controller or MSCP server or if it is a dual-ported 
MASSBUS disk.
DVI$_LOGVOLNAM
Returns the logical name of the volume or volume set as a string.
DVI$_MAILBOX_BUFFER_QUOTA
On Alpha and I64 systems, returns the current mailbox quota as an 
unsigned integer longword.
DVI$_MAILBOX_INITIAL_QUOTA
On Alpha and I64 systems, returns the initial mailbox quota as an 
unsigned integer longword.
DVI$_MAXBLOCK
Returns the maximum number of blocks on the volume as an unsigned 
integer longword. This item code is applicable only to disks.
DVI$_MAXFILES
Returns the maximum number of files on the volume as an unsigned 
integer longword. This item code is applicable only to disks.
DVI$_MEDIA_ID
Returns the nondecoded media ID as a longword. This item code is 
applicable only to disks and tapes.
DVI$_MEDIA_NAME
Returns the name of the volume type (for example, RK07 or TA78) as a 
string. This item code is applicable only to disks and tapes.
DVI$_MEDIA_TYPE
Returns the device name prefix of the volume (for example, DM for an 
RK07 device or MU for a TA78 device) as a string. This item code is 
applicable only to disks and tapes.
DVI$_MOUNT_TIME
On Alpha and I64 systems, returns the time at which the volume was 
mounted. Because the returned time is in the standard 64-bit absolute 
time format, specify 8 (bytes) for the buffer length field in the item 
descriptor.
Note that for volumes mounted in a cluster, only the time of the 
initial mount is recorded; the time of any subsequent mount is not 
recorded.
DVI$_MOUNTCNT
Returns the mount count for the volume as an unsigned integer longword 
and displays the number of times the volume has been mounted on the 
local system.
The value of MOUNTCNT displayed by the SHOW DEVICE command is the total 
of all mounts of the volume across all members of the cluster.
DVI$_MOUNTVER_ELIGIBLE
On Alpha and I64 systems, returns an unsigned longword, which is 
interpreted as Boolean. A value of 1 indicates the volume is eligible 
to undergo mount verification. A volume mounted with either the 
/FOREIGN or /NOMOUNT_VERIFICATION qualifier is not subject to mount 
verification.
DVI$_MPDEV_AUTO_PATH_SW_CNT
On Alpha and I64 systems, returns as an unsigned longword the number of 
times a multipath device has automatically switched paths due to an I/O 
error, or as the result of automatically "failing back" to a 
local path from a remote path after the local path became available.
DVI$_MPDEV_CURRENT_PATH
On Alpha and I64 systems, returns the current path name for multipath 
devices as a string.
If the device is not part of a multipath set, $GETDVI will return the 
name of the device path if the class driver for this device supports 
path names. SYS$DKDRIVER, SYS$DUDRIVER, SYS$MKDRIVER, and SYS$GKDRIVER 
support path names.
If the class driver for the device does not support path names, $GETDVI 
returns a null string.
DVI$_MPDEV_MAN_PATH_SW_CNT
On Alpha and I64 systems, returns as an unsigned longword the number of 
times a multipath device has manually switched paths due to a $SET 
DEVICE /PATH /SWITCH command or the use of the $SET_DEVICE system 
service.
DVI$_MSCP_UNIT_NUMBER
Returns the internal coded value for MSCP unit numbers as a longword 
integer. This item code is reserved to HP.
DVI$_MT3_DENSITY
Returns the density of the device. Valid for tapes only. This code is 
an unsigned longword integer.
DVI$_MT3_SUPPORTED
The return value of 1 indicates that the device supports tape density 
codes defined by MT3DEF. Valid for tapes only. This code is an unsigned 
longword integer.
DVI$_MULTIPATH
On Alpha and I64 systems, returns a longword, interpreted as Boolean. A 
value of 1 indicates the device is a member of a multipath set.
DVI$_MVSUPMSG
On Alpha and I64 systems, returns an unsigned longword, interpreted as 
Boolean. A value of 1 indicates that mount verification OPCOM messages 
are currently being suppressed on this device. See the MVSUPMSG_INTVL 
AND MVSUPMSG_NUM system parameters for more information on the 
suppression of mount verification messages.
DVI$_NEXTDEVNAM
Returns the device name of the next volume in the volume set as a 
string. The node name is also returned. This item code is applicable 
only to disks.
DVI$_NOCACHE_ON_VOLUME
On Alpha and I64 systems, returns an unsigned longword, which is 
interpreted as Boolean. A value of 1 indicates the volume is mounted 
with all caching disabled
DVI$_NOHIGHWATER
On Alpha and I64 systems, returns an unsigned longword, which is 
interpreted as Boolean. A value of 1 indicates that high-water marking 
is disabled on the volume.
DVI$_NOSHARE_MOUNTED
On Alpha and I64 systems, returns an unsigned longword, which is 
interpreted as Boolean. A value of 1 indicates the volume is mounted 
/NOSHARE.
DVI$_ODS2_SUBSET0
On Alpha and I64 systems, returns an unsigned longword, which is 
interpreted as Boolean. A value of 1 indicates the volume supports only 
a subset of the ODS-2 file structure.
DVI$_ODS5
On Alpha and I64 systems, returns an unsigned longword, which is 
interpreted as Boolean. A value of 1 indicates the volume is mounted 
ODS-5.
DVI$_OPCNT
Returns the operation count of the device as an unsigned longword. Note 
that the operation count might have been reset with the SET 
DEVICE/RESET=OPCNT command.
On Alpha and I64 systems, this item code can be used with the PATHNAME 
parameter. If the PATHNAME parameter is omitted, the summation of the 
operation counts for all paths in a multipath device is returned (which 
was the behavior prior to the introduction of the PATHNAME parameter). 
If the PATHNAME parameter is specified, only the operation count for 
that path is returned.
DVI$_OWNUIC
Returns the user identification code (UIC) of the owner of the device 
as a standard 4-byte UIC.
DVI$_PATH_AVAILABLE
On Alpha and I64 systems, returns an unsigned longword, interpreted as 
Boolean. A value of 1 indicates the specified path is available.
This item code is usually used with the PATHNAME parameter. If the 
PATHNAME parameter is omitted, information about the current path of 
the multipath device is returned.
DVI$_PATH_NOT_RESPONDING
On Alpha and I64 systems, returns an unsigned longword, interpreted as 
Boolean. A value of 1 indicates the specified path is marked as not 
responding.
This item code is usually used with the PATHNAME parameter. If the 
PATHNAME parameter is omitted, information about the current path of 
the multipath device is returned.
DVI$_PATH_POLL_ENABLED
On Alpha and I64 systems, returns an unsigned longword, interpreted as 
Boolean. A value of 1 indicates that the specified path is enabled for 
multipath polling.
This item code is usually used with the PATHNAME parameter. If the 
PATHNAME parameter is omitted, information about the current path of 
the multipath device is returned.
DVI$_PATH_SWITCH_FROM_TIME
On Alpha and I64 systems, returns the time from which this path was 
switched, either manually or automatically. Because the returned time 
is in the standard 64-bit absolute time format, specify 8 (bytes) for 
the buffer length field in the item descriptor.
        This item code is usually used with the PATHNAME parameter. If the 
        PATHNAME parameter is omitted, information about the current path of 
        the multipath device is returned.
DVI$_PATH_SWITCH_TO_TIME
On Alpha and I64 systems, returns the time to which this path was 
switched, either manually or automatically. Because the returned time 
is in the standard 64-bit absolute time format, specify 8 (bytes) for 
the buffer length field in the item descriptor.
        This item code is usually used with the PATHNAME parameter. If the 
        PATHNAME parameter is omitted, information about the current path of 
        the multipath device is returned.
DVI$_PATH_USER_DISABLED
On Alpha and I64 systems, returns an unsigned longword, interpreted as 
Boolean. A value of 1 indicates the specified path has been disabled 
using the $SET DEVICE /PATH /NOENABLE command.
This item code is usually used with the PATHNAME parameter. If the 
PATHNAME parameter is omitted, information about the current path of 
the multipath device is returned.
DVI$_PID
Returns the process identification (PID) of the owner of the device as 
an unsigned integer longword.
DVI$_PREFERRED_CPU
Do not use this item code. The service continues to return the correct 
data for systems with up to 64 CPUs but fails for systems with more 
than 64 CPUs. Use item code DVI$_PREFERRED_CPU_BITMAP instead.
DVI$_PREFERRED_CPU_BITMAP
On Alpha and I64 systems, the return argument is a bitmap with a bit 
indicating the preferred CPU. A return argument containing a bit mask 
of zero indicates that no preferred CPU exists, either because Fast 
Path is disabled or the device is not a Fast Path capable device. The 
return argument serves as a CPU bitmap input argument to the 
$PROCESS_AFFINITY system service. The argument can be used to assign an 
application process to the optimal preferred CPU.
The size of the returned bitmap is determined by the number of 
supported CPUs on the system. You can compute the number of bytes 
needed for the bitmap as follows: Use the $GETSYI system service with 
an item code of SYI$_MAX_CPUS to find the minimum number of bits 
needed, round this number up to a multiple of 64, and divide the result 
by 8.
DVI$_PROT_SUBSYSTEM_ENABLED
On Alpha and I64 systems, returns an unsigned longword, which is 
interpreted as Boolean. A value of 1 indicates the volume is mounted 
with protected subsystems enabled.
DVI$_RECSIZ
Returns the blocked record size as an unsigned integer longword.
DVI$_REFCNT
Returns the number of channels assigned to the device as an unsigned 
integer longword.
DVI$_REMOTE_DEVICE
Returns a longword, which is interpreted as Boolean. A value of 1 
indicates that the device is a remote device; a value of 0 indicates 
that it is not a remote device. A remote device is a device that is not 
directly connected to the local node, but instead is visible through 
the OpenVMS Cluster system.
DVI$_ROOTDEVNAM
Returns the device name of the root volume in the volume set as a 
string. This item code is applicable only to disks.
DVI$_SCSI_DEVICE_FIRMWARE_REV
On Alpha and I64 systems, returns the firmware revision of a SCSI disk 
or SCSI tape as a four-character string. This item code is valid only 
for SCSI disks and SCSI tapes; a null string is returned for any other 
device.
DVI$_SECTORS
Returns the number of sectors per track as an unsigned integer 
longword. This item code is applicable only to disks.
DVI$_SERIALNUM
Returns the serial number of the volume as an unsigned integer 
longword. This item code is applicable only to disks.
DVI$_SERVED_DEVICE
Returns a longword, which is interpreted as Boolean. A value of 1 
indicates that the device is a served device; a value of 0 indicates 
that it is not a served device. A served device is one whose local node 
makes it available to other nodes in the OpenVMS Cluster system.
DVI$_SHDW_CATCHUP_COPYING
Returns a longword, which is interpreted as Boolean. The value 1 
indicates that the device is the target of a full copy operation.
DVI$_SHDW_COPIER_NODE
On Alpha and I64 systems, returns the name of the node that is actively 
performing either the copy or the merge operation, as a string.
DVI$_SHDW_DEVICE_COUNT
On Alpha and I64 systems, returns the total number of devices in the 
virtual unit, including devices being added as copy targets, as a 
longword.
DVI$_SHDW_GENERATION
On Alpha and I64 systems, returns the current, internal revision number 
of the virtual unit, as a quadword.
DVI$_SHDW_MASTER
Returns a longword, which is interpreted as Boolean. The value 1 
indicates that the device is a virtual unit named DSAnnnn:.
DVI$_SHDW_MASTER_MBR
On Alpha and I64 systems, returns the name of the master member device 
(as a string) that is used for merge and copy repair operations and for 
shadow set recovery operations.
DVI$_SHDW_MASTER_NAME
When the specified device is a shadow set member, $GETDVI returns the 
device name of the virtual unit (DSAnnnn:) that represents the shadow 
set of which the specified device is a member. $GETDVI returns a null 
string if the specified device is not a member or is itself a virtual 
unit (DSAnnnn:).
  Note 
Shadow set members must have a nonzero allocation class to operate in 
an OpenVMS Cluster system. For more information, see HP Volume Shadowing for OpenVMS. 
     | 
  
DVI$_SHDW_MBR_COPY_DONE
On Alpha and I64 systems, returns the percentage of the copy operation 
that is complete on the current member unit, as a longword.
DVI$_SHDW_MBR_COUNT
On Alpha and I64 systems, returns the number of full source members in 
the virtual unit, as a longword. Devices added as copy targets are not 
full source members.
DVI$_SHDW_MBR_MERGE_DONE
On Alpha and I64 systems, returns the percentage of the merge operation 
that has been completed on the member, as a longword.
DVI$_SHDW_MBR_READ_COST
On Alpha and I64 systems, returns the current value set for the member 
unit, as a longword. This value can be modified to use a 
customer-specified value.
DVI$_SHDW_MEMBER
Returns a longword, which is interpreted as Boolean. The value 1 
indicates that the device is a shadow set member.
DVI$_SHDW_MERGE_COPYING
On Alpha and I64 systems, returns a longword, which is interpreted as 
Boolean. The value 1 indicates that the device is a merge member of the 
shadow set.
DVI$_SHDW_MINIMERGE_ENABLE
On Alpha and I64 systems, returns a longword, which is interpreted as 
Boolean. The value 1 indicates that, if a system in the cluster that 
has this device mounted crashes, the virtual unit will undergo a 
minimerge and not a full merge.
DVI$_SHDW_NEXT_MBR_NAME
Returns the device name of the next member in the shadow set. If you 
specify a virtual unit with the chan or 
devnam argument, DVI$_SHDW_NEXT_MBR_NAME returns the 
device name of a member of a shadow set. If you specify the name of a 
shadow set member unit with the chan or 
devnam argument, DVI$_SHDW_NEXT_MBR_NAME returns the 
name of the next member unit or a null string if there are no more 
members.
To determine all the members of a shadow set, first specify the virtual 
unit (DSAnnnn:) to $GETDVI. Then, on subsequent calls, specify the 
member name returned by the previous $GETDVI call until it returns a 
null member name.
When the shadow set members have a nonzero allocation class, the device 
name returned by $GETDVI contains the allocation class; the name has 
the form $allocation-class$device. For example, if a shadow 
set has an allocation class of 255 and the device name is DUA42, 
$GETDVI returns the string $255$DUA42.
  Note 
Shadow set members must have a nonzero allocation class to operate in 
an OpenVMS Cluster system. For more information, see HP Volume Shadowing for OpenVMS. 
     | 
  
DVI$_SHDW_READ_SOURCE
On Alpha and I64 systems, returns the name of the member device that is 
used for reads, at this point in time, as a string. 
DVI$_SHDW_READ_SOURCE uses the unit that has the lowest value of the 
sum of its queue length and read cost for reads. This is a dynamic 
value.
DVI$_SHDW_TIMEOUT
On Alpha and I64 systems, returns the customer-specified timeout value 
set for the device, as a longword.
If you do not set a value using the SETSHOWSHADOW utility, the SYSGEN 
parameter SHADOW_MBR_TWO is used for member units and MVTIMEOUT is used 
for virtual units.
DVI$_STS
Returns the device unit status as a 4-byte bit vector. Each bit in the 
vector, when set, corresponds to a symbolic name that is defined by the 
$UCBDEF macro. The following table describes each name:
  
    | Symbol  | 
    Description  | 
  
  
    | 
      UCB$V_ALTBSY
     | 
    
      Unit is busy via alternate startio path.
     | 
  
  
    | 
      UCB$V_BSY
     | 
    
      Unit is busy.
     | 
  
  
    | 
      UCB$V_CANCEL
     | 
    
      I/O on unit is canceled.
     | 
  
  
    | 
      UCB$V_CLUTRAN
     | 
    
      OpenVMS Cluster state transition in progress.
     | 
  
  
    | 
      UCB$V_DEADMO
     | 
    
      Deallocate at dismount.
     | 
  
  
    | 
      UCB$V_DELETEUCB
     | 
    
      Delete this UCB when reference count equals 0.
     | 
  
  
    | 
      UCB$V_DISMOUNT
     | 
    
      Dismount in progress.
     | 
  
  
    | 
      UCB$V_ERLOGIP
     | 
    
      Error log is in progress on unit.
     | 
  
  
    | 
      UCB$V_EXFUNC_SUPP
     | 
    
      Unit supports the EXFUNC bit.
     | 
  
  
    | 
      UCB$V_FAST_PATH
     | 
    
      Unit supports FAST PATH Affinity.
     | 
  
  
    | 
      UCB$V_FP_HWINT
     | 
    
      Unit supports FAST PATH hardware interrupt CPU Affinity.
     | 
  
  
    | 
      UCB$V_INT
     | 
    
      Interrupt is expected.
     | 
  
  
    | 
      UCB$V_INTTYPE
     | 
    
      Receiver interrupt.
     | 
  
  
    | 
      UCB$V_IOPOST_LOCAL
     | 
    
      Unit supports I/O post processing on the current CPU.
     | 
  
  
    | 
      UCB$V_LCL_VALID
     | 
    
      Volume is valid on the local node.
     | 
  
  
    | 
      UCB$V_MNTVERIP
     | 
    
      Mount verification is in progress.
     | 
  
  
    | 
      UCB$V_MOUNTING
     | 
    
      Device is being mounted.
     | 
  
  
    | 
      UCB$V_MNTVERPND
     | 
    
      Mount verification is pending on busy device.
     | 
  
  
    | 
      UCB$V_NO_ASSIGN
     | 
    
      Unit cannot have channels assigned to it.
     | 
  
  
    | 
      UCB$V_ONLINE
     | 
    
      Unit is on line.
     | 
  
  
    | 
      UCB$V_PATHVERIP
     | 
    
      Path verification is in progress for this device.
     | 
  
  
    | 
      UCB$V_POWER
     | 
    
      Power failed while unit busy.
     | 
  
  
    | 
      UCB$V_SNAPSHOT
     | 
    
      Restart validation is in progress.
     | 
  
  
    | 
      UCB$V_SUPMVMSG
     | 
    
      If set, suppress success type mount version messages.
     | 
  
  
    | 
      UCB$V_SVPN_END
     | 
    
      Last byte used from page mapped by system virtual page number (SVPN).
     | 
  
  
    | 
      UCB$V_TEMPLATE
     | 
    
      Template UCB from which other UCBs for this device type are made.
     | 
  
  
    | 
      UCB$V_TIM
     | 
    
      Timeout is enabled.
     | 
  
  
    | 
      UCB$V_TIMOUT
     | 
    
      Unit timed out.
     | 
  
  
    | 
      UCB$V_UNLOAD
     | 
    
      Unload volume at dismount.
     | 
  
  
    | 
      UCB$V_VALID
     | 
    
      Volume is software valid.
     | 
  
  
    | 
      UCB$V_WRONGVOL
     | 
    
      Wrong volume detected during mount verification.
     | 
  
  
    | 
      UCB$V_WRTLOCKMV
     | 
    
      Write-locked mount verification in progress.
     | 
  
DVI$_TOTAL_PATH_COUNT
On Alpha and I64 systems, the number of paths for a multipath-capable 
device returns as an unsigned longword.
DVI$_TRACKS
Returns the number of tracks per cylinder as an unsigned integer 
longword. This item code is applicable only to disks.
DVI$_TRANSCNT
Returns the transaction count for the volume as an unsigned integer 
longword.
DVI$_QLEN
On Alpha and I64 systems, returns the queue length for the device as an 
unsigned integer longword. Note that this value is the number of I/O 
requests already in the driver and not the depth of the I/O pending 
queue.
DVI$_TT_ACCPORNAM
Returns the name of the remote access port associated with a channel 
number or with a physical or virtual terminal device number. If you 
specify a device that is not a remote terminal or a remote type that 
does not support this feature, $GETDVI returns a null string. The 
$GETDVI service returns the access port name as a string. HP recommends 
a buffer size of 64 bytes to return the name of the remote access port.
The $GETDVI service returns the name in the format of the remote 
system. If the remote system is a LAT terminal server, $GETDVI returns 
the name as server_name/port_name. The names are separated by 
the slash (/) character. If the remote system is an X.29 terminal, the 
name is returned as network.remote_DTE. For devices using 
TCP/IP, the name is returned in the format Host: 192.168.1.100 
Port: 1.
When writing applications, use the string returned by DVI$_ACCPORNAM 
(instead of the physical device name) to identify remote terminals.
DVI$_TT_CHARSET
Returns, as a 4-byte bit vector, the character sets supported by the 
terminal. Each bit in the vector, when set, corresponds to the name of 
a coded character set. The $TTCDEF macro defines the following coded 
character sets:
  
    | Symbol  | 
    Description  | 
  
  
    | 
      TTC$V_HANGUL
     | 
    
      DEC Korean
     | 
  
  
    | 
      TTC$V_HANYU
     | 
    
      DEC Hanyu
     | 
  
  
    | 
      TTC$V_HANZI
     | 
    
      DEC Hanzi
     | 
  
  
    | 
      TTC$V_KANA
     | 
    
      DEC Kana
     | 
  
  
    | 
      TTC$V_KANJI
     | 
    
      DEC Kanji
     | 
  
  
    | 
      TTC$V_THAI
     | 
    
      DEC Thai
     | 
  
DVI$_TT_CS_HANGUL
Returns a longword, which is interpreted as Boolean. A value of 1 
indicates that the device supports the DEC Korean coded character set; 
a value of 0 indicates that the device does not support the DEC Korean 
coded character set.
DVI$_TT_CS_HANYU
Returns a longword, which is interpreted as Boolean. A value of 1 
indicates that the device supports the DEC Hanyu coded character set; a 
value of 0 indicates that the device does not support the DEC Hanyu 
coded character set.
DVI$_TT_CS_HANZI
Returns a longword, which is interpreted as Boolean. A value of 1 
indicates that the device supports the DEC Hanzi coded character set; a 
value of 0 indicates that the device does not support the DEC Hanzi 
coded character set.
DVI$_TT_CS_KANA
Returns a longword, which is interpreted as Boolean. A value of 1 
indicates that the device supports the DEC Kana coded character set; a 
value of 0 indicates that the device does not support the DEC Kana 
coded character set.
DVI$_TT_CS_KANJI
Returns a longword, which is interpreted as Boolean. A value of 1 
indicates that the device supports the DEC Kanji coded character set; a 
value of 0 indicates that the device does not support the DEC Kanji 
coded character set.
DVI$_TT_CS_THAI
Returns a longword, which is interpreted as Boolean. A value of 1 
indicates that the device supports the DEC Thai coded character set; a 
value of 0 indicates that the device does not support the DEC Thai 
coded character set.
DVI$_TT_PHYDEVNAM
Returns a string containing the physical device name of a terminal. If 
the caller specifies a disconnected virtual terminal or a device that 
is not a terminal, $GETDVI returns a null string. $GETDVI returns the 
physical device name as a string.
DVI$_UNIT
Returns the unit number as an unsigned longword.
DVI$_VOLCHAR
On Alpha and I64 systems, returns a 128-bit string (16 bytes) that 
represents the volume characteristics or capabilities of the mounted 
device. If a bit is set, the volume is capable of performing the 
function.
DVI$_VOLCOUNT
Returns the number of volumes in the volume set as an unsigned 
longword. This item code is applicable only to disks.
DVI$_VOLNAM
Returns the volume name as a string.
DVI$_VOLNUMBER
Returns the volume number of this volume in the volume set as an 
unsigned integer longword. This item code is applicable only to disks.
DVI$_VOLSETMEM
Returns a longword, which is interpreted as Boolean. A value of 1 
indicates that the device is part of a volume set; a value of 0 
indicates that it is not. This item code is applicable only to disks.
DVI$_VOLSIZE
On Alpha and I64 systems, returns the current logical volume size of 
the volume as an unsigned integer longword.
DVI$_VOLUME_EXTEND_QUANTITY
On Alpha and I64 systems, returns the number of blocks to be used as 
the default extension size for all files on the volume as an unsigned 
longword.
DVI$_VOLUME_MOUNT_GROUP
On Alpha and I64 systems, returns an unsigned longword, interpreted as 
Boolean. A value of 1 indicates the volume is mounted /GROUP.
DVI$_VOLUME_MOUNT_SYS
On Alpha and I64 systems, returns an unsigned longword, interpreted as 
Boolean. A value of 1 indicates the volume is mounted /SYSTEM.
DVI$_VOLUME_PENDING_WRITE_ERR
On Alpha and I64 systems, returns the count of pending write errors on 
the volume as an unsigned longword.
DVI$_VOLUME_RETAIN_MAX
On Alpha and I64 systems, returns the maximum retention time for the 
volume as specified with the DCL command SET VOLUME/RETENTION. Because 
the returned time is in the standard 64-bit absolute time format, 
specify 8 bytes for the buffer length field in the item descriptor.
DVI$_VOLUME_RETAIN_MIN
On Alpha and I64 systems, returns the minimum retention time for the 
volume, as specified with the DCL command bit SET VOLUME/RETENTION. 
Because the returned time is in the standard 64-bit absolute time 
format, specify 8 bytes for the buffer length field in the item 
descriptor.
DVI$_VOLUME_SPOOLED_DEV_CNT
On Alpha and I64 systems, returns the number of devices spooled to the 
volume as an unsigned longword.
DVI$_VOLUME_WINDOW
On Alpha and I64 systems, returns the volume default window size as an 
unsigned longword.
DVI$_VPROT
Returns the volume protection mask as a standard 4-byte protection mask.
DVI$_TT_xxxx
DVI$_TT_xxxx is the format for a series of item codes that return 
information about terminals. This information consists of terminal 
characteristics. The xxxx portion of the item code name 
specifies a single terminal characteristic.