In this example you set an unconditional job breakpoint using F6 (Add/Clear breakpoint). The breakpoint is to be set on the first runnable Calculation specification so that the various fields and data structures can be displayed.
DISPLAY MODULE module-nameon the debug command line where module-name is the name of the module that you want to display.
Display Module Source
Program: DEBUGEX Library: MYLIB Module: DBGEX
84 *---------------------------------------------------------------
85 * Move 'a's to the data structure DS2. After the move, the
86 * first occurrence of DS2 contains 10 character 'a's.
87 *---------------------------------------------------------------
88 C MOVE *ALL'a' DS2
89
90 *---------------------------------------------------------------
91 * Change the occurrence of DS2 to 2 and move 'b's to DS2,
92 * making the first 10 bytes 'a's and the second 10 bytes 'b's
93 *---------------------------------------------------------------
94 C 2 OCCUR DS2
95 C MOVE *ALL'b' DS2
96
97 *---------------------------------------------------------------
98 * Fld1a is an overlay field of Fld1. Since Fld1 is initialized
More...
Debug . . . _________________________________________________________________
_______________________________________________________________________________
F3=End program F6=Add/Clear breakpoint F10=Step F11=Display variable
F12=Resume F17=Watch variable F18=Work with watch F24=More keys
Breakpoint added to line 88.