[Info-vax] resource domain for the dummies

mooneydl mooneydl at hotmail.com
Thu Jan 8 16:55:44 EST 2009


On Jan 8, 8:29 am, Pierre <pierre.... at gmail.com> wrote:
> in order not to have conflicts with resources names when I $ENQ locks,
> I want to use a resource domain but I do not know what value to use in
> $SET_RESOURCE_DOMAIN's domain_number arg
>
> how can I create my own resource domain ? how can I list existing
> ones ?
>
> I tried to RTFM but did not find what I was looking for :( where all
> this stuff documented ?
>
> TIA,
> Pierre.

You can look at the security of a resoure domain like this:
show security/class=resource_domain [55]

[000055] object of class RESOURCE_DOMAIN
     Owner: [DEV,*]
     Protection: (System: RWL, Owner: RWL, Group: RWL, World: RWL)
     Access Control List: <empty>

Show security does not appear to take a wild card for the resource
domain so you can use a bit of dcl like this:
$ set noon
$ i = 0
$ loop:
$ i = i + 1
$ if i.gt.99999 then exit
$ istring = "["+f$string(i)+"]"
$ show security/class=resource_domain 'istring
$ goto loop

Resource domains are related to user groups. You may find that you
already have a resource domain for each user group. If the resource
domain does not exist I don't know how to create it.

You can change the security on a resource domain like this:
set security/class=resource_domain/prot=w:rwl [000055]

Regards,
Dan



More information about the Info-vax mailing list