Running your program to a specific line

You can run from one point in a program to another point by using one of the following methods:

  • Set a breakpoint and use the GO command. This command runs your program from the point where it stopped to the breakpoint that you set. Any breakpoints that are encountered cause your program to stop. The RUN command is synonymous with the GO command.
  • Use the GOTO command. This command resumes your program at the point that you specify in the command. The code in between is skipped.
  • Use the JUMPTO command. This command moves the point at which your program resumes running to the statement you specify in the command; however, the program does not resume. The code in between is skipped.
  • Use the RUNTO command. This command runs your program to the point that you specify in the RUNTO command. The RUNTO command is helpful when you haven't set a breakpoint at the point you specify in the RUNTO command.

Refer to the following topics for more information related to the material discussed in this topic.

  • Related references
  • IBM® z/OS® Debugger Reference and Messages