Previous Topic: Resume Execution from a Specific LocationNext Topic: Abend a Task


Single-Stepping

Single‑stepping lets your program execute one COBOL verb and then stop again. You can adjust the step amount so that the program executes a specified number of verbs between stops.

To single‑step, type next in the command line and press Enter or press PF10 from the source listing.

Your program executes the next verb and then stops.

To single‑step from a different program location perform the following steps:

  1. Display the statement where you want to resume execution. For details, see Display Your Source Listing.
  2. Type a g to the left of that statement.
  3. Type next in the command line and press Enter or press PF10.

To adjust the step amount, perform the following steps:

  1. Press PF4 to access the Source Listing Profile screen.
  2. Change the number in the Stepping amount field.
  3. Press Enter.

    CA InterTest for CICS changes the step amount and redisplays the source listing. If Titles are set to on (an option on the Source Listing Profile screen), the new step amount appears next to PF10 at the top of the Source Listing Breakpoint screen.