FORTRAN Reference Manual

Statements
FORTRAN Reference Manual528615-001
7-100
START BACKUP Statement
START BACKUP Statement
The START BACKUP statement defines control options for fault-tolerant processing. It
also starts the backup process, ensures that the backup process opens all files
currently open in the primary process, checks file synchronization information, and
checkpoints all usable memory. START BACKUP is an extension to the ANSI
standard and gives the FORTRAN user access to the HP fault-tolerant programming
facility.
start-spec
is one of the following specifiers:
CPU = number
number is an integer expression with a value from -1 through 15 that specifies
in which processor to start the backup process. The default value is 0. If you
specify CPU = -1, the system determines the processor in which the backup
process runs.
ERR = label
label is an integer that designates an executable statement, in the same
program unit, to which control passes if an error occurs during an attempt to
start a backup process.
OPTION = int
int is an integer expression that controls a number of options for NonStop
process. Table 7-9 on page 7-101 shows the meaning of each OPTION bit.
BACKUPSTATUS = var
var is an integer variable that returns zero (no error) or an integer that
identifies the error following execution of a START BACKUP statement.
Table 7-10 on page 7-102 shows the status codes that FORTRAN returns to
your program.
Considerations
The START BACKUP statement does not establish a takeover point. You must
execute a CHECKPOINT statement to establish a takeover point.
You can write the start-specs in any order, but you cannot specify any item
more than once.
For additional information about fault-tolerant programming, see Section 16, Fault-
Tolerant Programming.
START BACKUP [ ( start-spec [, start-spec ]... ) ]