A call to the Get Device/Volume Information ($GETDVI)
system service returns the following information for any device serviced
by the generic SCSI class driver. (See the description of the $GETDVI
system service in the HP OpenVMS System Services
Reference Manual.)
$GETDVI returns the following device characteristics
when you specify the item code DVI$_DEVCHAR:
DEV$M_AVL  | Available device  | 
DEV$M_IDV  | Input device  | 
DEV$M_ODV  | Output device  | 
DEV$M_SHR  | Shareable device  | 
DEV$M_RND  | Random-access device  | 
DVI$DEVCLASS returns the device class, which is
DC$_MISC; DVI$DEVTYPE returns the device type, which is DT$_GENERIC_SCSI.