Previous Topic: Resume Program ExecutionNext Topic: Single-Stepping


Resume Execution from a Specific Location

To resume program execution from the breakpoint location where your program is stopped, the source listing screen must be displayed. Press Clear from any CA InterTest for CICS screen until the breakpoint screen reappears.

Enter the GO command on the command line or Press PF5 to continue from the current breakpoint. Execution continues until the program is halted at another breakpoint or the task completes. If you do not want to halt the program at any of your preset breakpoints, you can enter the RUN command on the command line and the program will continue execution from the current breakpoint and preserve all preset breakpoints.

If you are stopped at an automatic breakpoint, you must first correct the error that triggered the breakpoint before continuing execution from that point. Or, you can go around the error and continue execution from another location.

To resume program execution from another location, follow these steps:

  1. Display the instruction where you want to resume execution. For more information, see Display Your Source Listing.
  2. Type g to the left of that instruction.
  3. Press Enter.

or

  1. Enter GO label or GO linenumber on the command line and press enter

Program execution resumes from that instruction label or line number.

The following example shows how to resume execution from a location prior to an automatic breakpoint. This is useful if you corrected a record or dynamically modified an incorrect file name and now want the program to reread the record or file.

CA InterTest for CICS Release 9.1.00 - PROTSYM FILE SOURCE LISTING BREAKPOINT COMMAND ===> Program= ASMDEMO Option # Stmt # Displacement= Margin= 01 Search= ---------+--------------------------------------------------------------------- LOC OBJECT CODE ADDR1 ADDR2 STMT SOURCE STATEMENT _ 001B94 D201 48FA 4A0C 028FA 02A0C 2099 MVC FIRST,=CL2'NO' 2100 * EXEC CICS SEND 2101 * MAP ('DMAP04') 2102 * MAPSET ('IN25AMP') 2103 * ERASE 2104 * WAIT 2105 DFHECALL =X'1804D000080000 Active Usings: ASMDEMO(X'4000'),R2,R3,R4,R8 COMAREA(X'1000'),R9 DFHEIBLK( 001B9A 4110 D068 00068 ),(______RF,DMAP04O),, _ 001BC2 9200 B01A 0001A 2120 MVI EIBAID,X'00' 2121 * EXEC CICS RECEIVE _ 001BC6 4110 D068 00068 2122 DFHECALL =X'04020000080000 _ 001BDC 956D B01A 0001A 2132 CLI EIBAID,DFHCLEAR _ 001BE0 4780 2300 00300 2133 BE ENDMSG g 001BE4 47F0 3FAE 01FAE 2134 B READATA _ 001BE8 2136 SENDMP02 DS 0H 2137 * SEND OUT A SCREEN _ 001BE8 D201 48FE 49FE 028FE 029FE 2138 MVC MAPNUM,=CL2'03'

When you press Enter, execution resumes from offset 1BE4, the location you identified with a g.