Book a demo

← Documentation

CICS Debugger

Debug a CICS COBOL program from the Code Viewer while you run its transaction on a 3270. The CICS debugger button (target icon) shows on a saved COBOL program of a mainframe connection once an administrator has set the debugger ports in Admin Settings.

Set up your profile

  1. Open the program and click the CICS debugger button. The CICS debugger profile dialog opens.
  2. Enter the Transaction you type on the 3270 (for example AD01, or a prefix ending with *).
  3. Enter the Program to stop in, or * for any program the transaction runs.
  4. Click Activate. The User id is your own sign-in, so only your own tasks wait for the debugger. A colleague running the same transaction is not caught.

While the profile is active, every matching transaction you run waits for the OL Code debugger. With no debugger listening, your 3270 stays frozen until the wait gives up, so click Turn off when you are done.

Debug the program

  • Run the transaction on your 3270. The debug session opens in place of the program in its tab.
  • Click the margin (or press F9) to set a breakpoint, F10 to step over, F11 to step into, and F5 to continue.
  • At a stop, point at a name to see its value. Right-click it, or click the eye of a variable, to keep it in Kept variables at every stop in this program.
  • Back to the program returns to the source. Start again waits for the next run.

Good to know

  • A profile left by DTCN or another client may also filter on a terminal id. An auto-installed 3270 gets a new terminal id each time it reconnects, so nothing is caught; activating or updating the profile here removes that filter.
  • The administrator sets the z/OS Debugger RDS and DPS ports in Administration.

Debug a CICS COBOL program from the Code Viewer while you run its transaction on a 3270.

Read more

Tell us about yourself

You've been browsing the catalog. Leave your details to keep exploring.

Privacy policy