Locate parent structure DAT_PAREN
On successful exit, the parent structure locator will identify a scalar structure (number of dimensions zero). If appropriate, this may be a cell of a structure array.
An error will result, and the STATUS value DAT__OBJIN will be returned if the object supplied does not have a parent; i.e. if it is the top-level object in a container file. The DAT__OBJIN error code is defined in the include file DAT_ERR.
If this routine is called with STATUS set, then a value of DAT__NOLOC will be returned for the LOC2 argument, although no further processing will occur. The same value will also be returned if the routine should fail for any reason. The DAT__NOLOC constant is defined in the include file DAT_PAR.