| Title: | Welcome to the new DCL hackers home on EPS:: |
| Moderator: | EPS::VANDENHEUVEL |
| Created: | Thu Jul 14 1994 |
| Last Modified: | Mon May 12 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 1820 |
| Total number of notes: | 10378 |
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 835.1 | interprete bitmask | UNTADC::BACHNER | There are no kangaroos in Austria | Tue Nov 08 1988 13:05 | 9 |
| 835.2 | Thanks for your help | KAOFS::P_CHAPLINSKY | Wed Feb 05 1997 13:15 | 40 | |
The DCL lexical F$GETDVI with item "STS" will return the status
information of the specified device.
$ write sys$output f$getdvi("$1$dua30:","STS")
returns
16
So what does 16 mean? Well, execute:
$ library sys$library:lib.mlb/extract=$ucbdef/output=ucbdef.txt
Edit ucbdef and look for 16. You get
$EQU UCB$M_ONLINE 16
So my device is online. This is a simple case.
From a stars article entitled "Detecting Mount Verification with
F$GETDVI" it states:
A disk is in a "mount verification has timed out" state if the
following conditions are true:
o the disk is mounted
o UCB$V_MNTVERIP in the STS field is clear (bit 14)
o UCB$V_VALID in the STS field is clear (bit 11)
o the ACP type (from DVI$_ACPTYPE) is either F11V1 or F11V2
A disk is in "mount verification in progress" if the following
conditions are true:
o the disk is mounted
o UCB$V_MNTVERIP in the STS field is set (bit 14)
DVI$_STS and STS return a vector which is documented in the $UCBDEF
module of the LIB.MLB macro library.
PChaplinsky
| |||||