The Generated Code Structure view
displays a hierarchical tree showing the generated nodes of the Program/Screen.
It enables you to easily spot where specific code has been entered.
Moreover, if you have modified the design of a Program/Screen which
contains specific code, you must consult this view after each new
generation to see whether the reconciliation (which integrates the
new design while keeping the specific code) has detected any potential
problems.
To see the content of this view, you must have
generated a program (batch Program or online Screen). Then, in the
Design
explorer view, right-click on the corresponding
.cbl file,
which contains the generated Cobol, and select in the popup menu. The Cobol editor must remain open
and currently selected.
The
Generated Code Structure view looks
like this:
For VA Pac, the
nodes correspond to divisions and sections.
The
PROCEDURE
DIVISION displays the generated functions and sub-functions.
each containing a
body and a
-fn.
Note: If
comments are attached to the function or subfunction, they are inserted
in the nodes, between the (sub)function start tag and body.
You can modify the display of the view by: