AST_RETAINFITS

Indicate that the current card in a FitsChan should be retained

Description:

This routine stores a flag with the current card in the FitsChan indicating that the card should not be removed from the FitsChan when an Object is read from the FitsChan using AST_READ.

Cards that have not been flagged in this way are removed when a read operation completes succesfully, but only if the card was used in the process of creating the returned AST Object. Any cards that are irrelevant to the creation of the AST Object are retained whether or not they are flagged.

Invocation

CALL AST_RETAINFITS( THIS, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the FitsChan.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: