COBOL Manual for TNS and TNS/R Programs
Procedure Division Verbs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
9-34
CHECKPOINT
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 statement in the OSS environment.
•
Before RVU D46.00 and G06.00, software product revision T8107AAT (run-time library
T8108AAR), the NMCOBOL compiler ignores this directive and issues a warning.
CHECKPOINT
data-name-1
FILE
data-name-2
FILE
file-name
QUEUE
checkpoint-list-name
VST137.vsd