next up previous
Next: NDF_HFIND - Find an NDF history record by date and time
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_HECHO - Write out lines of history text

   
NDF_HEND - End NDF history recording for the current application

Description:
The routine closes down history recording for the current application by writing default history information (when appropriate) to any NDFs which are still active, and by flagging that a new history record should be created to hold any subsequent history information (ready for the next application). If an application name has been declared via a call to NDF_HAPPN, then that name is cleared.

Invocation:
CALL NDF_HEND( STATUS )

Arguments:
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • This routine attempts to execute even if STATUS is set on entry, although no further error report will be made if it subsequently fails under these circumstances.
  • This routine should not normally be used by writers of NDF applications. It is provided primarily to allow those writing environment-level software to identify the end of an application to the NDF_ system in circumstances where more than one application may be invoked from within a single executing program. Even then, it will not normally be needed unless NDF data structures are intended to remain open throughout the invocation of several applications and a separate history record is required from each application.



next up previous
Next: NDF_HFIND - Find an NDF history record by date and time
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_HECHO - Write out lines of history text


Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk

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