HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
OPEN
Chapter 10412
FILE=
character-expression
specifies the name of the file to be connected to
unit
.
character-expression
can also be the ASCII representation of a device
file. If this specifier does not appear in the OPEN statement, a temporary
scratch file is created.
FORM=
character-expression
specifies whether the file is connected for formatted or unformatted I/O.
character-expression
can be one of the following arguments:
IOSTAT=
integer-variable
returns the I/O status after the statement executes. If the statement
successfully executes,
integer-variable
is set to zero. If an error occurs, it
is set to a positive integer that indicates which error occurred.
PAD=
character-expression
specifies whether or not to pad the input record with blanks if the record
contains fewer characters than required by the format specification. This
specifier is applicable to formatted input only.
character-expression
can
be one of the following arguments:
Table 10-37
'FORMATTED' Specify formatted I/O. If the file
is to be opened for sequential
access, this is the default.
'UNFORMATTED' Specify unformatted I/O. If the
file is to be opened for direct
access, this is the default.
Table 10-38
'YES' Pad input records with blanks
(if necessary) to fill it out to
length required by format
specification (default).
'NO' Do not pad input record with
blanks if it is not as long as
record specified by format
specification.