AIF_FLNAM

Returns the name of a file as a character string given its parameter name

Description:

Normally, the handles to HDS data files are locators and files are obtained via the parameter system. The name of a data file itself is not available to applications via the user-level parameter-system library, and so applications cannot place the file name in log files or use the it to generate compound names. This routine provides that functionality by calling internal parameter-system routines to obtain the name. This routine also works for Fortran files associated via an ADAM parameter.

Invocation

CALL AIF_FLNAM( PARNAM, FILNAM, STATUS )

Arguments

PARNAM = CHARACTER ( ) (Given)
Parameter name associated with the data object whose name is required.
FILNAM = CHARACTER ( ) (Returned)
The name of the file. If %FILNAM is not long enough a bad status is returned.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:

Prior Requirements