O'Reilly logo

Designing and Programming CICS Applications by Members of the CICS Development Team at IBM Hursley, John Horswill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

EDF: Execution Diagnostic Facility

The Execution Diagnostic Facility, EDF, is a useful tool for debugging and testing application programs associated with transactions. This section covers the following topics:

  • Interception points

  • EDF displays

  • Other information displayed

  • Useful techniques with EDF

  • EDF options

  • Examples of EDF displays

Full details of EDF are supplied in the CICS Application Programming Guide.

Interception Points

When using the Execution Diagnostic Facility with a transaction, EDF intercepts the program at the following points:

  • Program initiation (just before the program gets control)

  • Just before the execution of each CICS command

  • Just after the execution of each CICS command (except ABEND, XCTL, and RETURN)

  • Program termination

  • At normal task termination

  • When an abend occurs

  • At abnormal task termination

EDF Displays

EDF interrupts program execution with a display consisting of a header and the main body of the display. The header contains:

  • Transaction ID

  • Program name

  • The number of the task currently executing within CICS

  • A display number within EDF

  • Under ‘STATUS’, the reason for the interception by EDF

The header is followed by the main body display, which contains a variety of information depending on the interception point being processed; for example:

ABOUT TO EXECUTE COMMAND

Details of the command about to be executed including keywords, options, and argument values along with information to identify the command type and offset in the program.

COMMAND EXECUTION COMPLETE

Details as for the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required