Viewing the Logic Flow chart


Logic Flow chart shows the code flow in whatever paragraph or procedure you have selected in the editor or program structure chart. That selected paragraph or procedure is presented as a collection of code blocks, rounded rectangular boxes representing a sequential group of statements in the program. These nodes are connected by lines representing their logical sequence within the program, with arrowheads indicating the direction of the execution path. 

To open the Logic Flow chart, right-click on the paragraph or procedure, and select Code Insights > Show Logic Flow. You can also see the Logic Flow chart from the Program Structure chart. For more information see, Viewing-the-Program-Structure-chart.

image-2024-9-16_15-39-29.png

Each code block in a Logic Flow chart has the following:

  • One entry point and one exit point. The entry point is indicated visually with a bold border around the node, and the contents of the entry point are shown at the top of the view.
  • Each node displays the line number and action associated with that node, and when you hover over the node, it displays the associated line of code.
  • If the code block represented is an invisible statement (an internally generated statement), the line number shown is replaced by ellipses (.....). This is the case with generated scope terminators, periods, and label returns.

You can use this Logic Flow chart to perform the following actions:

Purpose

Action

Expand all parent nodes

Select View > Expand All.

Change the layout of the chart.  

Select View > Chart Direction.

Show or hide icons present in the nodes

Select View > Show Icons In Nodes.

Zoom in or out.

Select View > Show Zoom Slider and use the Fit to screen slider.

Select and highlight the node with a bold border while synchronizing to the corresponding statement in the Workbench COBOL Editor or Workbench PL/I Editor.

Click a Logic Flow chart node.

Select and highlight nodes while also highlighting the logical path between the selected nodes.

Ctrl +click one or more nodes.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*