Any error encountered while running a linear procedure ends the procedure. The logic in your procedure handles any errors encountered while running a procedure. For more information, see Using REXX error-handling instructions in procedures with logic.