Device class

From VSI OpenVMS Wiki
Jump to: navigation, search

Device classes determined by F$GETDVI("","DEVCLASS") are stored as DC$ symbols in the macro library module $DCDEF. Here is how to look up this information:

$ library/extract=$dcdef/output=sys$scratch:$dcdef.mar sys$library:starlet.mlb 
$ search sys$scratch:$dcdef.mar 66,DC$/match=and 

$EQU    DC$_TERM        66

Below is a table that lists DC$ device classes:

$EQU DC$_ANY 0
$EQU DC$_DISK 1
$EQU DC$_TAPE 2
$EQU DC$_SCOM 32
$EQU DC$_CARD 65
$EQU DC$_TERM 66
$EQU DC$_LP 67
$EQU DC$_WORKSTATION 70
$EQU DC$_REALTIME 96
$EQU DC$_DECVOICE 97
$EQU DC$_AUDIO 98
$EQU DC$_VIDEO 99
$EQU DC$_BUS 128
$EQU DC$_MAILBOX 160
$EQU DC$_REMCSL_STORAGE 170
$EQU DC$_MISC 200