CONTINUE

From VSI OpenVMS Wiki
Revision as of 14:04, 2 December 2019 by Jane.doe (talk | contribs) (Created page with "CONTINUE is a DCL command that resumes execution of a DCL command, a program, or a command procedure that was i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CONTINUE is a DCL command that 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.

Syntax

CONTINUE

Examples

$ RUN MYPROGRAM_A
   <Ctrl/Y>
$ SHOW TIME
     14-DEC-2001 13:40:12
$ CONTINUE

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.