Viewing the Logic Flow chart
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, Working-with-Program-Structure-chart.
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. |