The routine returns
a count of the number of “primary” locators
associated with an HDS container file (its
). The file will remain open for as long as this number is greater than zero.
CALL DAT_REFCT( LOC, REFCT, STATUS )
LOC = CHARACTER
DAT__SZLOC ) (Given)
Locator associated with any object in the container file.
REFCT = INTEGER
Number of primary locators currently associated with the file.
STATUS = INTEGER
(Given and Returned)
The global status.
This routine may be used to determine whether
a primary locator will cause a container file to be closed (also see the routine DAT_PRMRY
Copyright © 2019 East Asian Observatory