HELPLIB.HLB  —  CONTINUE
    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.

    Format

      CONTINUE

1  –  Examples

    1.$ 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.

    2.$ 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.
Close Help