[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference eps::command_procedures

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

835.0. "How do I interpret the return status" by HPSRAD::LINDSEY () Mon Nov 07 1988 23:57

T.RTitleUserPersonal
Name
DateLines
835.1interprete bitmaskUNTADC::BACHNERThere are no kangaroos in AustriaTue Nov 08 1988 16:059
835.2Thanks for your helpKAOFS::P_CHAPLINSKYWed Feb 05 1997 16:1540
    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