FORTRAN Reference Manual

Statements
FORTRAN Reference Manual528615-001
7-76
OPEN Statement
The blank specifier is meaningful only when you use formatted I/O on a file. The
default value for the blank specifier is 'NULL'.
If you specify 'NULL', all blank characters read into formatted numeric input fields
are ignored; a field of all blanks is treated as zero. If you specify 'ZERO', all blanks
except leading blanks are treated as zero.
If you open a file that is already connected to the specified unit, only the BLANK
specifier can be different from the original open.
TIMED specifier
.FALSE. is the default value.
If time is .TRUE., timed I/O operations are allowed for the file and a TIMEOUT
specifier is required in all reads and writes to the file. If time is .FALSE., or if you
omit this specifier, the compiler ignores a TIMEOUT specifier in any I/O statement
that refers to the file.
Your program uses level-1—unbuffered—spooling if you specify TIMED = .TRUE.
and the file you open is a spooler collector.
SPACECONTROL specifier
If you specify 'YES', the system interprets the first character of an output record as
a vertical spacing control character for an output device according to the values
shown in the following table:
If you specify 'NO', the system interprets the first character of an output record as
data.
If you specify 'DEVICE', the handling of a record depends on its destination. If it is
being sent to a print device, terminal, or process, the first character is used to
control vertical spacing; otherwise the whole record is assumed to be data.
SYNCDEPTH specifier
To enable recovery from path failure during a write, sync must be greater than
zero. The default value is 1.
For NonStop processes, the SYNCDEPTH specifier also specifies the maximum
number of write operations you can safely issue to the file without executing a
CHECKPOINT statement to your backup process. For additional information about
checkpointing and NonStop processes, see Section 14, Interprocess
Communication.
Character Vertical Spacing Before Printing
Blank One line
0 Two lines
1 To first line of next page
+ No advance