GRP_SOWN

Establish one group as the owner of another group

Description:

This routine establishes one specified group as "owner" of another specified group. An error is reported if the group is already owned by another group. An error is also reported if the "owner" group already owns a slave.

This routine may also be used to cancel an "owner-slave" relationship, by specifying IGRP2 as GRP__NOID. The group identified by IGRP1 then becomes a "free" group (i.e. has no owner). An error is reported if IGRP1 identifies a group which is already free.

Invocation

CALL GRP_SOWN( IGRP1, IGRP2, STATUS )

Arguments

IGRP1 = INTEGER (Given)
The identifier of the "slave" group which is to have an owner established for it. An error is reported if an invalid identifier is given.
IGRP2 = INTEGER (Given)
The identifier of the group which is to be established as the owner of the group identified by IGRP1.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: