Fclose

The following command closes a file:
Format:
SPECTRA> fc$*$lose

Description:
The C run-time function fclose is called to close a file.
/fptr=pointer_symbol
The value of the file pointer is read from the symbol pointer_symbol. The default symbol name is FILE_PTR. The symbol is deleted after the file has been closed.

An example can be found in section 15.3.32.