next up previous 207
Next: NDG_NDFCO - Obtain an NDF identifier for a new NDF created by copying an existing NDF
Up: Routines for accessing groups of NDFs
Previous: NDF_MOREG - Search for NDFs within the extensions of a supplied NDF


NDG_NDFAS - Obtain an NDF identifier for an existing NDF

Description:
The routine returns an NDF identifier for an existing NDF. The name of the NDF is held at a given index within a given group. It is equivalent to NDF_ASSOC.

Invocation:
CALL NDG_NDFAS( IGRP, INDEX, MODE, INDF, STATUS )

Arguments:

IGRP = INTEGER (Given)
A GRP identifier for a group holding the names of NDFs. This will often be created using NDG_ASSOC, but groups created "by hand" using GRP directly (i.e. without the supplemental groups created by NDG_ASSOC) can also be used.
INDEX = INTEGER (Given)
The index within the group at which the name of the NDF to be accessed is stored.
MODE = CHARACTER $*$ ( $*$ ) (Given)
Type of NDF access required: 'READ', 'UPDATE' or 'WRITE'.
INDF = INTEGER (Returned)
NDF identifier.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:



next up previous 207
Next: NDG_NDFCO - Obtain an NDF identifier for a new NDF created by copying an existing NDF
Up: Routines for accessing groups of NDFs
Previous: NDF_MOREG - Search for NDFs within the extensions of a supplied NDF

NDG [1ex
Starlink User Note 2
D.S. Berry
M.B. Taylor
22nd October 2009
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils