HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
INQUIRE
Chapter 10378
FILE=
character-expression
specifies the name of a file for inquiry. The file does not have to be connected
or even exist. If the FILE= specifier appears in
io-specifier-list
, the
UNIT= specifier must not be used.
FORM=
character-variable
returns the following values, indicating whether the file is connected for
formatted or unformatted I/O:
FORMATTED=
character-variable
returns the following values, indicating whether or not the file is connected
for formatted I/O:
IOSTAT=
integer-variable
'FALSE' File does not exist or unit is not
connected.
Table 10-17
'FORMATTED' File is connected for
formatted I/O.
'UNFORMATTED' File is connected for
unformatted I/O.
'UNDEFINED' File is not connected.
Table 10-18
'YES' File is connected for formatted
I/O.
'NO' File is not connected for
formatted I/O.
'UNKNOWN' It cannot be determined
whether or not file is connected
for formatted I/O.
Table 10-16 (Continued)