In this example you set a conditional job breakpoint using F13 (Work with module breakpoints).
Figure 108 shows the Work with Module Breakpoints display after adding the conditional breakpoint.
Work with Module Breakpoints System: TORASD80 Program . . . : DEBUGEX Library . . . : MYLIB Module . . . : DBGEX Type . . . . . : *PGM Type options, press Enter. 1=Add 4=Clear Opt Line Condition 127 *in02='1' 88 102 Bottom Command ===> ________________________________________________________________________ F3=Exit F4=Prompt F5=Refresh F9=Retrieve F12=Cancel Breakpoint added to line 127.
A conditional job breakpoint is set on line 127. The expression is evaluated before the statement is run. If the result is true (in the example, if *IN02='1'), the program stops, and the Display Module Source display is shown. If the result is false, the program continues to run.
An existing breakpoint is always replaced by a new breakpoint entered at the same location.