Previous Topic: Operand DefinitionsNext Topic: COPY Command


CHECKPOINT Command

The CHECKPOINT command is used in an editing session to establish a new stable point where the user is returned if a ROLLBACK command is issued.

At the start of every editing session, CA Ideal makes a temporary copy of the component being edited. This copy is used as the initial automatic checkpoint. A CHECKPOINT issued during an editing session replaces the existing temporary copy of the entity with a copy that reflects any changes made to the entity during the editing session up to the time the CHECKPOINT command is issued. This new copy is then the checkpoint. Only the CHECKPOINT and ROLLBACK commands use the temporary copy. Editing activities affect the actual entity after you press the Enter key. At the conclusion of the editing session, CA Ideal deletes the temporary checkpoint copy.

When editing the working data, parameter data, and procedure of a CA Ideal program definition, a CHECKPOINT applies only to that component. For report and panel definitions, the entire definition is included in a CHECKPOINT, regardless of the component being edited when the CHECKPOINT is issued.

CHECKPOINT merely establishes a backup copy. To access that copy after editing activity, you must use ROLLBACK. You can use the DISPLAY ROLLBACK command at any time during an editing session to view the temporary checkpoint copy.

This command has the following format:

CHECKPOINT