See if an existing NDF is associated with an ADAM parameter NDF_EXIST
’
READ’
, ’
UPDATE’
or ’
WRITE’
. If ’
WRITE’
access is specified, then all the NDF’
s components will be reset to an undefined state
ready to receive new values. If ’
UPDATE’
access is specified, the NDF’
s components will retain their
values, which may then be modified.
The behaviour of this routine is the same as NDF_ASSOC, except that in the event of the NDF structure not existing (or being inaccessible), control is returned to the application with an identifier value of NDF__NOID, rather than re-prompting the user.
Note that unlike the DAT_EXIST routine, on which it is modelled, this routine does not set a STATUS value if the data structure does not exist.
If this routine is called with STATUS set, then a value of NDF__NOID will be returned for the INDF argument, although no further processing will occur. The same value will also be returned if the routine should fail for any reason. The NDF__NOID constant is defined in the include file NDF_PAR.