Interrupting program execution

Using EDF, you can perform different operations at intercept points in your program to help debug it.

The power of EDF lies in what you can do at each of the intercept points. For example, you can:
  • Change the argument values before a command is executed. For CICS® commands, you cannot change the command itself, or add or delete options, but you can change the value associated with any option. You can also suppress execution of the command entirely using NOOP. See Using EDF to change information for further details.
  • Change the results of a command, either by changing the argument values returned by execution or by modifying the response code. This allows you to test branches of the program that are hard to reach using ordinary test data (for example, what happens on an input/output error). It also allows you to bypass the effects of an error to check whether this eliminates a problem.
  • Display the working storage of the program, the EXEC interface block (EIB), and for DL/I programs, the DL/I interface block (DIB).
  • Invoke the command interpreter (CECI). Under CECI you can execute commands that are not present in the program to gain additional information or change the execution environment.
  • Display any other location in the CICS region.
  • Change the working storage of the program and most fields in the EIB and the DIB. EDF stops your task from interfering with other tasks by preventing you from changing other areas of storage.
  • Display the contents of temporary storage and transient data queues.
  • Suppress EDF displays until one or more of a set of specific conditions is fulfilled. This speeds up testing.
  • Retrieve up to 10 previous EDF displays or saved screens.
  • Switch off EDF mode and run the application normally.
  • Stop the task with an abend.
The first two types of changes are made by overtyping values in the body of the command displays. Using EDF to change information tells you how to do this. You use the function keys in the menu for the others; Using EDF menu functions tells you exactly what you can do and how to go about it.
Figure 1. Typical EDF display from which CECI can be invoked
TRANSACTION: DLID PROGRAM: DLID TASK: 00049 APPLID: IYAHZCIB
					DISPLAY:00
					ADDRESS: 00000000
















					WORKING STORAGE IS NOT AVAILABLE
					ENTER: CURRENT DISPLAY
					PF1 : UNDEFINED PF2 : BROWSE TEMP STORAGE PF3 : UNDEFINED
					PF4 : EIB DISPLAY PF5 : INVOKE CECI PF6 : USER DISPLAY
					PF7 : SCROLL BACK HALF PF8 : SCROLL FORWARD HALF PF9 : UNDEFINED
					PF10: SCROLL BACK FULL PF11: SCROLL FORWARD FULL PF12: REMEMBER DISPLAY


dfhp3kw.html | Timestamp icon Last updated: Monday, 5 June 2017