[Info-vax] [VMS083] WWID item code for $GETDVI?

Jan-Erik Soderholm jan-erik.soderholm at telia.com
Wed Jan 27 08:27:58 EST 2010


Peter 'EPLAN' LANGSTOeGER wrote:
> According to the VMS 8.3 Manuals/Help, "WWID" is a valid code for SYS$GETDVI
> for disks & tapes. But so far I never have seen a value in return for disks
> 
> e.g.
> 
> $ WRITE SYS$OUTPUT F$GETDVI("$2$MGA50","WWID")
> 02000008:5006-0B00-00CA-75EA
> $ WRITE SYS$OUTPUT F$GETDVI("$1$DGA1004","WWID")
> 
> $
> 
> and
> 
> $ SHOW DEVICE/FULL $2$MGA50
> ...
>     WWID   02000008:5006-0B00-00CA-75EA
> ...
> $ SHOW DEVICE/FULL $2$DGA1004
> ...
>     WWID
> ...
> $
>  
> Do you perhaps know, what the restrictions are
> (or is it a bug in VMS V8.3 - and V8.2 and V7.3-2 -  and is still unfixed)?
> 
> From http://openvms.compaq.com/doc/83final/4527/OVMS_83_SYS_SERV1.PDF
> 
> DVI$_WWID
> On Alpha and I64 systems, returns the World Wide Identifier (WWID) of Fibre
> Channel Disk and Tape devices as a string. The maximum length of this string
> might change with new devices; therefore, HP recommends that a 380-byte buffer
> be passed to this function.
> 
> 
> Many TIA
> 

Works just fine over here :

$ sh dev dga

Device                  Device           Error  .....
  Name                   Status           Count  .....
...
...
$1$DGA1400:     (xxxx)  Mounted              4  .....
...
...

$ write sys$output f$getdvi("$1$DGA1400","wwid")
01000010:6005-0763-08FF-C4FD-0000-0000-0000-110A


$ sh dev /fu $1$DGA1400:

Disk $1$DGA1400: (xxxx), device type IBM 2107900, ....

...
    WWID   01000010:6005-0763-08FF-C4FD-0000-0000-0000-110A
...


$ tcpip sh ver

   ...
   on a COMPAQ AlphaServer DS20E 666 MHz running OpenVMS V8.3

$



More information about the Info-vax mailing list