HP OpenVMS Systemsask the wizard |
The Question is: Hi Wizard, I would like to know if there is any way (supported or unsupported) to extract information related to multi-pathing for disks using the f$getdvi lexical function. In particular I would like to find out the current path, the primary path and the number of available paths to an HSG80 controlled disk. If this is not possible, are there any plans to extend the functionality of this lexical function to extract this type of information? Thanks and Regards Edwin The Answer is :
What is available and supported is included in the help text and
the documentation for the particular OpenVMS release involved.
The $getdvi system service itemcodes of interest include:
DVI$_ALT_HOST_AVAIL
DVI$_ALT_HOST_NAME
DVI$_FC_NODE_NAME
DVI$_FC_PORT_NAME
DVI$_HOST_AVAIL
DVI$_HOST_NAME
DVI$_WWID
The list of available paths is accessable via the OpenVMS system
service $device_path_scan. There is presently no DCL lexical
function that is equivelent to this system service call.
You can trivially create an image which calls this service, and
returns values via DCL symbols -- this approach has the advantage
of being entirely supported and (unlike parsing DCL command output)
will not tend to fail if/when the output format of the DCL command
is altered.
|