FORTRAN 77 Language Reference


The options can be specified in any order.

The DISP= and DISPOSE= options are allowable alternates for STATUS=, with a warning, if the -ansi flag is set.

Execution of CLOSE proceeds as follows:

  1. The specified unit is disconnected.

  2. If sta is DELETE, the file connected to the specified unit is deleted.

  3. If an IOSTAT argument is specified, ios is set to zero if no error was encountered; otherwise, it is set to a positive value.