Common Lexical Functions
$ vbl = F$GETDVI( dev_name, keyword )
“dev_name” is a valid device name
“keyword” is a quoted string
$ FBLK = F$GETDVI( “DUA0”,”FREEBLOCKS”)
$ MNTD = F$GETDVI( “DKA500”,”MNT”)
$ VNAM = F$GETDVI( DVNM, VLNM )
Notes:
The F$GETDVI() function is useful for retrieving information about system devices and disk/tape volumes.
The examples show some of the information that can be returned by F$GETDVI(). Notice that either literal strings or symbols can be used as arguments to DCL lexical functions.