Operating System - OpenVMS
1748089 Members
5053 Online
108758 Solutions
New Discussion юеВ

Re: Determing ALLOCLASS Value witin DCL

 
SOLVED
Go to solution
Jack Trachtman
Super Advisor

Determing ALLOCLASS Value witin DCL

How can I determine a host's ALLOCLASS value within DCL? Looks like lexical F$GETSYI doesn't take an ALLOCLASS arg. (F$GETDVI does have an ALLOCLASS arg but you have to know a disk name first).

I've got a cluster with MSCP enabled, so I can see some disks from both systems on either system. I'd like to get a list of those disks defined on one node using a cmd like "SHOW DEV $alloclass$D"
2 REPLIES 2
Steven Schweda
Honored Contributor
Solution

Re: Determing ALLOCLASS Value witin DCL

F$GETDVI does ALLOCLASS for a disk (device).

F$GETSYI does ALLOCLASS for the system. It's
not listed explicitly in the help, but it
qualifies under:

You can also specify any of the system parameters listed in the
HP OpenVMS System Management Utilities Reference Manual.

My system is not very illustrative, but:

alp $ write sys$output f$getdvi( "sys$sysdevice", "ALLOCLASS")
0

alp $ write sys$output f$getsyi( "ALLOCLASS")
0
Jack Trachtman
Super Advisor

Re: Determing ALLOCLASS Value witin DCL

As pointed out. Thanks