Chapter 16. Debugging in CICS
In this chapter:
Even the best programs tend to have the occasional bug in them. Fortunately, CICS includes several tools and aids to help you debug online applications. This chapter contains brief details of some of the CICS-supplied transactions that are most commonly used. You’ll find details of the CEMT transaction in the CICS Supplied Transactions manual and extensive details about CEBR, CECI, and CEDF are in the CICS Application Programming Guide.
Two of these transactions (CEDF and CEDX) enable you to use the Execution Diagnostic Facility (EDF); it allows you to inspect and change variables that your application gives and receives from CICS. This is described in detail in EDF: Execution Diagnostic Facility. Within your organization there are likely to be other debugging aids available, for example, line-by-line source debuggers for finding pure application errors, especially during development, rather than that result of passing bad data to CICS; this information should be readily available from other development and technical team members.
When carrying out problem determination, it is worth noting details of actions taken and results obtained in a log to provide information to other people that you may need to consult. For a simple fault, debugging a failure may involve nothing more than reading the error message and checking the program source. For a really obscure error, you ...
Get Designing and Programming CICS Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.