FORTRAN Reference Manual

Statements
FORTRAN Reference Manual528615-001
7-71
OPEN Statement
FILE = fn
fn is a character expression that specifies the name of the file to connect to
unit. It can also be a DEFINE name. For more information about the format of
file names, see the Guardian Programmer’s Guide.
STATUS = stat
stat is a character expression with the value of 'OLD', 'NEW', 'SCRATCH', or
'UNKNOWN'. The default is 'UNKNOWN'.
ACCESS = acc
acc is a character expression with the value of 'DIRECT' or 'SEQUENTIAL'.
The default is 'SEQUENTIAL'.
FORM = form
form is a character expression with the value of 'FORMATTED' or
'UNFORMATTED'. The compiler accepts a value for this specifier, but because
HP FORTRAN allows a file to contain both formatted and unformatted records,
this specifier has no effect other than setting a file attribute that can be
returned by subsequent INQUIRE statements.
RECL = rcl
rcl is an integer expression that specifies the length in bytes of each record in
the file. rcl must be greater than zero. The default is 132.
BLANK = blank
blank is a character expression with the value of 'NULL' or 'ZERO'. For more
information, see Considerations on page 7-72. The default is 'NULL'.
TIMED = time
time is a logical expression that controls timed I/O for the specified file. For
more information, see Considerations
on page 7-72.
SPACECONTROL = spc
spc is a character expression with the value 'YES', 'NO', or 'DEVICE'; it
specifies whether the first character of an output record controls vertical
spacing for an output device or is a data character. The default is 'DEVICE'.
SYNCDEPTH = sync
sync is an integer expression that specifies the number of nonretryable I/O
operations your FORTRAN process can execute before it does a checkpoint.
The Guardian file system or other server process must save the replies to your
program’s sync most recent requests to support your program if your program
runs as a NonStop process.