next up previous 204
Next: GRP_VALID - Determine if a group identifier is valid
Up: Routine Descriptions
Previous: GRP_SETSZ - Reduce the size of a group


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:



next up previous 204
Next: GRP_VALID - Determine if a group identifier is valid
Up: Routine Descriptions
Previous: GRP_SETSZ - Reduce the size of a group

GRP Routines for Managing Groups of Objects
Starlink User Note 150
D.S. Berry
21st October 2009
E-mail:ussc@star.rl.ac.uk

Copyright © 2009 Science and Technology Facilities Council