DAT_PAREN

Locate parent structure

Description:

The routine returns a locator for the parent structure of an HDS object; i.e. the structure which contains the object.

Invocation

CALL DAT_PAREN( LOC1, LOC2, STATUS )

Arguments

LOC1 = CHARACTER  ( DAT__SZLOC ) (Given)
Object locator.
LOC2 = CHARACTER  ( DAT__SZLOC ) (Returned)
Parent structure locator.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:

Example

The parent of the object A.B.C.D is A.B.C, the parent of X.DATA.ARRAY(1:256) is X.DATA, and the parent of Z.STRUC(17).FLAG is Z.STRUC(17).