HP OpenVMS Systems

ask the wizard
Content starts here

API for shadow copy and mount count info?

» close window

The Question is:

Questions on how to query system information programmatically. If the OS can
 show it on screen, there must be a better way (DCL or system service call)
 than parsing the screen output.
1. Device mount count, i.e. the number in the last column from SHOW DEVICE. Is
 lexical F$GETDVI(device, "MOUNTCNT") supposed to do this job? It always return
 1 to me.
2. Shadow copying / merging percentage complete. I don't find anything other
 than true or false of copying / merging.

The Answer is :

  There is no documented API available for the cluster-wide mount
  count displayed by SHOW DEVICE, only an API for acquiring the
  node-specific mount count.  There is also no documented API
  available for reporting the shadowing completion percentage.

answer written or last revised on ( 22-JUN-2000 )

» close window