COBOL Manual for TNS/E Programs (H06.03+)
Procedure Division Verbs
HP COBOL Manual for TNS/E Programs—520347-003
9-32
CHECKPOINT
°
Within programs that are to run as process pairs
If the primary process of a process pair executes a CANCEL statement, the
backup process can become invalid.
CHECKPOINT
CHECKPOINT defines a restart point for the backup process of a process pair and
transfers the information that the backup requires to restart.
data-name-1
is the name of a data item to checkpoint, typically an item used for an I-O transfer
of data that is relevant to the current state of the program and is needed if the
backup process is to continue the operation in the event of a failure.
FILE
indicates that the next data item is the name or number of a file.
data-name-2
is an integer, the operating system file number of the file whose sync block is to be
checkpointed. Use data-name-2 only when files are managed entirely with
ENTER statements that call TAL routines (rather than COBOL I-O statements).
file-name
is the name of a file (usually a disk file) whose sync block is to be checkpointed.
QUEUE
indicates that the next data item is the name of a checkpoint list.
Note. Do not use this directive in the OSS environment.
CHECKPOINT
data-name-1
FILE
data-name-2
FILE
file-name
QUEUE
checkpoint-list-name
VST137.vsd










