GRP_OWN

Returns the identifier of the group which owns the specified group

Description:

If the group identified by IGRP1 has had an "owner" group established for it by a call to GRP_SOWN, then the identifier of the owner group is returned in IGRP2. Otherwise, the value GRP__NOID is returned (but no error is reported).

Invocation

CALL GRP_OWN( IGRP1, IGRP2, STATUS )

Arguments

IGRP1 = INTEGER (Given)
An identifier for the slave group whose owner is to be returned. If GRP__NOID is supplied, then IGRP2 is returned holding GRP__NOID and no error is reported.
IGRP2 = INTEGER (Returned)
An identifier for the group which owns the group identified by IGRP1. Returned equal to GRP__NOID if an error occurs.
STATUS = INTEGER (Given and Returned)
The global status.