Rational Programming Patterns

Creating and modifying the Macro code

You can create and modify the Macro source code with the Macro COBOL editor. The input in this editor is made easy by function and subfunction creation wizards, snippets, and micropatterns. The Macro code structure view displays the structure of the Macro with the hierarchy of functions and subfunctions. You can display the structure in the skeleton of a program that is retrieved from a selected model.

About this task

The Macro code must be entered in the Macro COBOL editor. The functions and the unction nodes are instantaneously displayed in the Macro code structure view.

Functions and subfunctions are inserted according to their code. The cursor position is irrelevant.

You can enter source code in any order in the Macro editor. For example, you can create a function 22 after a function 01. In this case, the view shows the hierarchy of the code in the correct order but the editor and the Macro code structure view are out of synchronization. The selections in the tree become inactive. You must then resynchronize the editor and the view by selecting Synchronize the COBOL source with the code structure view in the contextual menu of the editor. This choice is also available in the Macro code structure view menu.

Procedure


Terms of use | Feedback

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