Program control flow provides a graphical view of the logical
flow within a COBOL program. You can use this feature to identify
potential logic problems or locate code that is not being used.
About this task
You can run program analysis on a COBOL file while it
is in edit mode. After you start the analysis, the Program
Control Flow view opens with a hierarchal graph of the
parts within the program file. Each node represents a callable statement,
such as a section or paragraph. The following example shows several
paragraphs. To navigate from one node to another, click the node in
the tree. The corresponding code is visible and highlighted in the
file.
Figure 1. Example of program control flow
diagram
Restriction: This feature has several restrictions:
- The program control flow diagram does not display control flow
nodes for control transfers that are generated by the following statements:
- EXEC CICS HANDLE
- EXEC CICS IGNORE
- EXEC CICS PUSH
- EXEC CICS POP
- EXEC SQL WHENEVER
- Quick fix is not available.