FORTRAN Reference Manual

Compiler Directives
FORTRAN Reference Manual528615-001
10-50
NONSTOP Compiler Directive
Example
?NOMAP
NONSTOP Compiler Directive
The NONSTOP directive specifies that you want your program to run as a NonStop
process.
The default value is NONONSTOP.
If your program specifies or defaults to ENV OLD:
FORTRAN reports a warning if it encounters a NONSTOP directive.
FORTRAN specifies in the object file that your program run as a NonStop process
if your program includes either a START BACKUP or a CHECKPOINT statement.
You cannot disable START BACKUP statements.
If your program specifies ENV COMMON:
A NONSTOP directive enables your program to run as a NonStop process, even if
your program does not include a START BACKUP or a CHECKPOINT statement.
The Binder specifies that the object file it produces can run as a NonStop process
only if the object file from which Binder reads the main procedure can run as a
NonStop process.
When you run your program, FORTRAN does not process START BACKUP
statements if you do not specify the NONSTOP directive or if you specify a PARAM
NONSTOP OFF TACL command.
If you specify the NONSTOP directive, the FORTRAN run-time system reports
error 257 if you attempt to open an EDIT format file with MODE = 'OUTPUT' or
MODE = 'I-O'.
Considerations
The NONSTOP directive must appear on the FORTRAN command line after the
semicolon that follows the object file name, or in the source input file before the first
FORTRAN source statement.
If the source file contains an ENV directive, the NONSTOP directive must appear after
the ENV directive.
If you specify more than one NONSTOP directive in a compilation, FORTRAN uses the
first one you specify and reports a warning message for each subsequent NONSTOP
directive that appears before the first FORTRAN statement.
[NO]NONSTOP