HP OpenVMS DCL Dictionary
Resumes execution of a DCL command, a program, or a command procedure
that was interrupted by pressing Ctrl/Y or Ctrl/C. You cannot resume
execution of the image if you have entered a command that executes
another image or if you have invoked a command procedure.
The CONTINUE command enables you to resume processing an image or a
command procedure that was interrupted by pressing Ctrl/Y or Ctrl/C.
You cannot resume execution of the image if you have entered a command
that executes another image or if you have invoked a command procedure;
however, you can use CONTINUE after commands that do not execute
separate images. For a list of these commands, see the OpenVMS User's Manual.
You can abbreviate the CONTINUE command to a single letter, C.
The CONTINUE command serves as the target command of an IF or ON
command in a command procedure. The CONTINUE command is also a target
command when it follows a label that is the target of a GOTO command.
In addition, you can use the CONTINUE command to resume processing of a
program that has executed either a VAX Fortran PAUSE statement or a VAX
COBOL-74 STOP literal statement.
$ RUN MYPROGRAM_A
$ SHOW TIME
In this example, the RUN command executes the program MYPROGRAM_A.
While the program is running, pressing Ctrl/Y interrupts the image. The
SHOW TIME command requests a display of the current date and time. The
CONTINUE command resumes the image.
$ ON SEVERE_ERROR THEN CONTINUE
In this example, the command procedure statement requests the command
interpreter to continue executing the procedure if any warning, error,
or severe error status value is returned from the execution of a
command or program. This ON statement overrides the default action,
which is to exit from a procedure following errors or severe errors.