NDF_OPEN

Open an existing or new NDF

Description:

The routine finds an existing NDF data structure and returns an identifier for it, or creates a placeholder for a new NDF.

Invocation

CALL NDF_OPEN( LOC, NAME, MODE, STAT, INDF, PLACE, STATUS )

Arguments

LOC = CHARACTER ∗ ( ∗ ) (Given)
Locator to the enclosing HDS structure.
NAME = CHARACTER ∗ ( ∗ ) (Given)
Name of the HDS structure component.
MODE = CHARACTER ∗ ( ∗ ) (Given)
Type of NDF access required: ’READ’, ’UPDATE’ or ’WRITE’.
STAT = CHARACTER ∗ ( ∗ ) (Given)
The state of the NDF, specifying whether it is known to exist or not: ’NEW’, ’OLD’, or ’UNKNOWN’.
INDF = INTEGER (Returned)
NDF identifier.
PLACE = INTEGER (Returned)
NDF placeholder identifying the nominated position in the data system.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: