Beruflich Dokumente
Kultur Dokumente
Objective
This document is aimed at developers who are new to debug any Batch or
Online program.
This document explains how one can debug a Batch or an Online Program
Interactively line by line. Through Expeditor it is much easier to find out where
exactly the error is as one can run the program in debug mode and easily see the
values in the variables used in the program, value of SQL code returned (in case
of DB2 programs) or CICS response codes etc.
1. Log on to the mainframe. On the AETNATSO AE82 PRIMARY PANEL screen, enter
the option as XPED.
6. The job will start executing in the expeditor. To set breakpoints type B in front of a
statement and press ENTER. To delete breakpoint, type D in front of statement, these
have breakpoint, and press ENTER. To Step into, use PF9 and to move directly to
next breakpoint, use PF12.To see the value of a particular variable type K in front of a
statement or type K variable name in the command line.
6) On the screen XPEDITER/CICS - TRAP SUMMARY (1.6), under the column TERM,
set the values to **** and press <ENTER>.
11) Now, to debug we need to run the transaction which has been setup in expeditor for
debugging. For that open one more mainframe CICS session and type the transaction
ID of that transaction which in this case happens to be EB01. The transaction will
start running in expeditor. To Step into, use PF9 and to zoom, use PF12.