VMS Help  —  CONTINUE  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