Rational Programming Patterns

Macro code structure view

This view displays a tree with the nodes of functions in a Macro. It is used to easily identify where specific code was entered.

The nodes in this view correspond to functions, subfunctions, sections, and divisions in a Macro.

In the view, you can find the function levels in blue and the generated paragraph labels in gray on function lines.

In this view, you can also see a Macro in a skeleton retrieved from one of these models: batch, dialogue, client, client monitor, server, and server monitor. To activate a skeleton, click the triangle (View menu) in the view toolbar. Select Skeleton and a model in the list. The lines retrieved from the model are displayed in green (standard color in the COBOL editor). If you do not need any skeleton, select Skeleton > None. If you click a node in the tree, the whole function included in the node is highlighted in blue in the Macro COBOL editor.

In the view menu, you also find Synchronize the COBOL source with the code structure view. This option is used to synchronize the code of a Macro in the view. For example, you can enter a function F01 after a function F21. The editor and the code structure view are then desynchronized. You must activate this option to have ordered function codes in the Macro code structure view.

You can filter the list of nodes to find only the nodes you need. You can use the * and ? wildcard characters in the string. When you type something in the field, a button becomes available. Clicking this button clears the field and the list is displayed as it was formerly with no filter applied.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)