This module contains definitions of integer parameters for all the
IOSTAT
values that can be returned as a result of use of an input/output
or data transfer statement.
For example:
USE f90_iostat INTEGER ios OPEN (10, FILE='a.b', IOSTAT=iost, STATUS='NEW') IF (iost==IOERR_NEW_FILE_EXISTS) PRINT *, "File a.b existed already"