1.$ RUN MYPROG . . . <Ctrl/Y> Interrupt $ STOP The RUN command in this example begins executing the image MYPROG. Subsequently, the Ctrl/Y function interrupts the execution. The STOP command then terminates the image. 2.$ @TESTALL . . . <Ctrl/Y> Interrupt $ STOP The @ (execute procedure) command in this example executes the procedure TESTALL.COM. Subsequently, the Ctrl/Y function interrupts the procedure. The STOP command then returns control to the DCL command interpreter. 3.$ RUN/PROCESS_NAME=LIBRA LIBRA %RUN-S-PROC_ID, identification of created process is 0013340D . . . $ STOP LIBRA The RUN command in this example creates a subprocess named LIBRA to execute the image LIBRA.EXE. Subsequently, the STOP command causes the image to exit and deletes the process. 4.$ ON ERROR THEN STOP . . . In a command procedure, the ON command establishes a default action when any error occurs in the execution of a command or program. The STOP command stops all command levels. If this ON command is executed in a command procedure, which in turn is executed from within another procedure, control does not return to the outer procedure, but to DCL command level 0. 5.$ STOP/EXIT Terminates the process and runs exit handlers beginning at executive mode. 6.$ STOP/IMAGE/ID=12345678 Terminates the current user image being executed by process 12345678.